Commit 47d14b48 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(revert-buffer): Change

explicit-buffer-file-coding-system to
(basic-save-buffer-1): Likewise.
parent a4a5aa2b
......@@ -3239,7 +3239,7 @@ Before and after saving the buffer, this function runs
(let ((coding-system-for-write save-buffer-coding-system))
(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
;; This force after-insert-file-set-coding
;; (called from insert-file-contents) to set
;; buffer-file-coding-system to a proper value.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment