(revert-buffer, recover-file): Use utf-8-emacs coding
authorDave Love <fx@gnu.org>
Mon, 27 May 2002 14:52:32 +0000 (14:52 +0000)
committerDave Love <fx@gnu.org>
Mon, 27 May 2002 14:52:32 +0000 (14:52 +0000)
system, not emacs-mule.

lisp/files.el

index e748b60..d1dedf0 100644 (file)
@@ -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))