Mercurial > emacs
changeset 88658:ab5d1c9248c4
(revert-buffer, recover-file): Use utf-8-emacs coding
system, not emacs-mule.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 27 May 2002 14:52:32 +0000 |
parents | df76808e99c0 |
children | 76e06537f60c |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Mon May 27 14:51:57 2002 +0000 +++ b/lisp/files.el Mon May 27 14:52:32 2002 +0000 @@ -3071,7 +3071,7 @@ (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 @@ ;; 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))