]> git.eshelyaron.com Git - emacs.git/commitdiff
(revert-buffer): Change
authorKenichi Handa <handa@m17n.org>
Thu, 30 Dec 2004 23:56:23 +0000 (23:56 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 30 Dec 2004 23:56:23 +0000 (23:56 +0000)
explicit-buffer-file-coding-system to
buffer-file-coding-system-explicit.
(basic-save-buffer-1): Likewise.

lisp/files.el

index 602a79e2f0b0d08724cd848bf3683bc0000f916f..4853e46095d85c2b9117d5d68a01d2d6dfe0cda1 100644 (file)
@@ -3239,7 +3239,7 @@ Before and after saving the buffer, this function runs
       (let ((coding-system-for-write save-buffer-coding-system))
        (basic-save-buffer-2))
     (basic-save-buffer-2))
-  (setq explicit-buffer-file-coding-system last-coding-system-used))
+  (setq buffer-file-coding-system-explicit last-coding-system-used))
 
 ;; This returns a value (MODES . BACKUPNAME), like backup-buffer.
 (defun basic-save-buffer-2 ()
@@ -3713,7 +3713,7 @@ non-nil, it is called instead of rereading visited file contents."
                          ;; internal coding.
                          (if auto-save-p 'auto-save-coding
                            (or coding-system-for-read
-                               explicit-buffer-file-coding-system))))
+                               buffer-file-coding-system-explicit))))
                     ;; This force after-insert-file-set-coding
                     ;; (called from insert-file-contents) to set
                     ;; buffer-file-coding-system to a proper value.