changeset 51358:f827a37d5c82

(recover-file): Bind coding-system-for-read to auto-save-coding.
author Kenichi Handa <handa@m17n.org>
date Sat, 31 May 2003 02:00:26 +0000
parents 4830e98be217
children 24e32b75730a
files lisp/files.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))