emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Thu, 30 Dec 2004 08:56:09 -0500

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.523 emacs/src/fileio.c:1.524
*** emacs/src/fileio.c:1.523    Mon Dec 27 17:27:30 2004
--- emacs/src/fileio.c  Thu Dec 30 12:28:41 2004
***************
*** 3861,3870 ****
  
        if (!NILP (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;
        else
        {
          /* Don't try looking inside a file for a coding system
--- 3861,3866 ----
***************
*** 4643,4649 ****
  
    if (! NILP (Ffboundp (Qafter_insert_file_set_coding)))
      {
!       insval = call1 (Qafter_insert_file_set_coding, make_number (inserted));
        if (! NILP (insval))
        {
          CHECK_NUMBER (insval);
--- 4639,4646 ----
  
    if (! NILP (Ffboundp (Qafter_insert_file_set_coding)))
      {
!       insval = call2 (Qafter_insert_file_set_coding, make_number (inserted),
!                     visit);
        if (! NILP (insval))
        {
          CHECK_NUMBER (insval);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]