From 01afb4f3ac01b890f2db3ccd453629115eed7dcb Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 30 Jul 2002 00:44:36 +0000 Subject: (revert-buffer): Fix previous change. --- lisp/files.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/files.el') diff --git a/lisp/files.el b/lisp/files.el index 3fe0fa479e..98cf8bfae5 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 -- cgit v1.2.3