/[emacs]/emacs/src/fileio.c
ViewVC logotype

Diff of /emacs/src/fileio.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.523 by tamm, Mon Dec 27 17:27:30 2004 UTC revision 1.524 by handa, Thu Dec 30 12:28:41 2004 UTC
# Line 3861  actually used.  */) Line 3861  actually used.  */)
3861    
3862        if (!NILP (Vcoding_system_for_read))        if (!NILP (Vcoding_system_for_read))
3863          val = Vcoding_system_for_read;          val = Vcoding_system_for_read;
       else if (! NILP (replace))  
         /* In REPLACE mode, we can use the same coding system  
            that was used to visit the file.  */  
         val = current_buffer->buffer_file_coding_system;  
3864        else        else
3865          {          {
3866            /* Don't try looking inside a file for a coding system            /* Don't try looking inside a file for a coding system
# Line 4643  actually used.  */) Line 4639  actually used.  */)
4639    
4640    if (! NILP (Ffboundp (Qafter_insert_file_set_coding)))    if (! NILP (Ffboundp (Qafter_insert_file_set_coding)))
4641      {      {
4642        insval = call1 (Qafter_insert_file_set_coding, make_number (inserted));        insval = call2 (Qafter_insert_file_set_coding, make_number (inserted),
4643                          visit);
4644        if (! NILP (insval))        if (! NILP (insval))
4645          {          {
4646            CHECK_NUMBER (insval);            CHECK_NUMBER (insval);

Legend:
Removed from v.1.523  
changed lines
  Added in v.1.524

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26