From: Kenichi Handa Date: Tue, 30 Jul 2002 00:44:36 +0000 (+0000) Subject: (revert-buffer): Fix previous change. X-Git-Tag: ttn-vms-21-2-B4~13815 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=01afb4f3ac01b890f2db3ccd453629115eed7dcb;p=emacs.git (revert-buffer): Fix previous change. --- diff --git a/lisp/files.el b/lisp/files.el index 3fe0fa479ee..98cf8bfae56 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3305,7 +3305,8 @@ non-nil, it is called instead of rereading visited file contents." ;; Auto-saved file shoule be read without ;; any code conversion. (if auto-save-p 'emacs-mule-unix - coding-system-for-read))) + (or coding-system-for-read + buffer-file-coding-system)))) ;; This force ;; after-insert-file-set-buffer-file-coding-system ;; (called from insert-file-contents) to set