# HG changeset patch # User Eli Zaretskii # Date 975684479 0 # Node ID da2a5d1550b71aa69f42a75bda1c10944bf2045e # Parent 72b6d537203d9edf1855862321af570fc7e97523 (revert-buffer, recover-file): Bind coding-system-for-read to emacs-mule-unix, not to no-conversion. diff -r 72b6d537203d -r da2a5d1550b7 lisp/files.el --- 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))