From 41db09b7a3bd18812c87b51ef07220d9018e70eb Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 27 May 2002 14:52:32 +0000 Subject: [PATCH] (revert-buffer, recover-file): Use utf-8-emacs coding system, not emacs-mule. --- lisp/files.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5