Mercurial > emacs
diff lisp/files.el @ 34085:da2a5d1550b7
(revert-buffer, recover-file): Bind
coding-system-for-read to emacs-mule-unix, not to no-conversion.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 01 Dec 2000 15:27:59 +0000 |
parents | 8091ba37be87 |
children | 98daea465817 |
line wrap: on
line diff
--- a/lisp/files.el Fri Dec 01 14:36:21 2000 +0000 +++ b/lisp/files.el Fri Dec 01 15:27:59 2000 +0000 @@ -3014,7 +3014,7 @@ (let ((coding-system-for-read ;; Auto-saved file shoule be read without ;; any code conversion. - (if auto-save-p 'no-conversion + (if auto-save-p 'emacs-mule-unix coding-system-for-read))) ;; Note that this preserves point in an intelligent way. (insert-file-contents file-name (not auto-save-p) @@ -3065,7 +3065,7 @@ ;; Keep the current buffer-file-coding-system. (coding-system buffer-file-coding-system) ;; Auto-saved file shoule be read without any code conversion. - (coding-system-for-read 'no-conversion)) + (coding-system-for-read 'emacs-mule-unix)) (erase-buffer) (insert-file-contents file-name nil) (set-buffer-file-coding-system coding-system))