From: Kenichi Handa Date: Sat, 31 May 2003 02:00:26 +0000 (+0000) Subject: (recover-file): Bind coding-system-for-read to X-Git-Tag: ttn-vms-21-2-B4~9832 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77619f8e69ff4ab5d75ef5ed31bd0cd483e333a6;p=emacs.git (recover-file): Bind coding-system-for-read to auto-save-coding. --- diff --git a/lisp/files.el b/lisp/files.el index 26235275261..42a29f0b2b7 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3617,8 +3617,8 @@ non-nil, it is called instead of rereading visited file contents." (let ((buffer-read-only nil) ;; 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)) + ;; Auto-saved file shoule be read with special coding. + (coding-system-for-read 'auto-save-coding)) (erase-buffer) (insert-file-contents file-name nil) (set-buffer-file-coding-system coding-system))