From: Dave Love Date: Mon, 27 May 2002 14:52:32 +0000 (+0000) Subject: (revert-buffer, recover-file): Use utf-8-emacs coding X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~742 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=41db09b7a3bd18812c87b51ef07220d9018e70eb;p=emacs.git (revert-buffer, recover-file): Use utf-8-emacs coding system, not emacs-mule. --- diff --git a/lisp/files.el b/lisp/files.el index e748b6069ce..d1dedf0e3a4 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3071,7 +3071,7 @@ non-nil, it is called instead of rereading visited file contents." (let ((coding-system-for-read ;; Auto-saved file shoule be read without ;; any code conversion. - (if auto-save-p 'emacs-mule-unix + (if auto-save-p 'utf-8-emacs-unix coding-system-for-read))) ;; Note that this preserves point in an intelligent way. (insert-file-contents file-name (not auto-save-p) @@ -3128,7 +3128,7 @@ non-nil, it is called instead of rereading visited file contents." ;; 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 'emacs-mule-unix)) + (coding-system-for-read 'utf-8-emacs-unix)) (erase-buffer) (insert-file-contents file-name nil) (set-buffer-file-coding-system coding-system))