diff options
author | Kenichi Handa <[email protected]> | 2002-07-30 00:44:36 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2002-07-30 00:44:36 +0000 |
commit | 01afb4f3ac01b890f2db3ccd453629115eed7dcb (patch) | |
tree | f65d36f01a4c9d52657c06066318edb2d03856dd /lisp/files.el | |
parent | 2341653d33a3e383eac600dd9e33703c618ac880 (diff) |
(revert-buffer): Fix previous change.
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 |