# HG changeset patch # User Kenichi Handa # Date 1054346426 0 # Node ID f827a37d5c82717e1a5c185c54e7c9a351f4e502 # Parent 4830e98be2172262103860eec456cd277424e371 (recover-file): Bind coding-system-for-read to auto-save-coding. diff -r 4830e98be217 -r f827a37d5c82 lisp/files.el --- a/lisp/files.el Sat May 31 01:58:13 2003 +0000 +++ b/lisp/files.el Sat May 31 02:00:26 2003 +0000 @@ -3617,8 +3617,8 @@ (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))