]> git.eshelyaron.com Git - emacs.git/commitdiff
(recover-file): Bind coding-system-for-read to
authorKenichi Handa <handa@m17n.org>
Sat, 31 May 2003 02:00:26 +0000 (02:00 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 31 May 2003 02:00:26 +0000 (02:00 +0000)
auto-save-coding.

lisp/files.el

index 262352752618410481cd3bd05ec8806392265d1b..42a29f0b2b7d785a8d5e8bbaeee99b219d53fe88 100644 (file)
@@ -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))