changeset 46741:b00b63ab095b

(revert-buffer): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Tue, 30 Jul 2002 00:44:36 +0000
parents a738c6db274a
children 8f29b98466a8
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Tue Jul 30 00:42:21 2002 +0000
+++ b/lisp/files.el	Tue Jul 30 00:44:36 2002 +0000
@@ -3305,7 +3305,8 @@
 			  ;; 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