]> git.eshelyaron.com Git - emacs.git/commitdiff
(revert-buffer, recover-file): Bind
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Dec 2000 15:30:43 +0000 (15:30 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Dec 2000 15:30:43 +0000 (15:30 +0000)
coding-system-for-read to emacs-mule-unix, not to no-conversion.

lisp/ChangeLog
lisp/files.el

index 5060dabea57e9d2b9f635d1bf242b5c98217fc2b..d575cba5b9af25e562774d358d8e51da03f69c3b 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * files.el (revert-buffer, recover-file): Bind
+       coding-system-for-read to emacs-mule-unix, not to no-conversion.
+
 2000-12-01  Gerd Moellmann  <gerd@gnu.org>
 
        * hi-lock.el (hi-lock-refontify): Call jit-lock-refontify.
index 973f7bc9de0d9c2cb50c5ede3bdc77edf40c0a6b..579ad90740408a9c041ad56cd4eef3e942b24988 100644 (file)
@@ -3014,7 +3014,7 @@ non-nil, it is called instead of rereading visited file contents."
                   (let ((coding-system-for-read
                          ;; Auto-saved file shoule be read without
                          ;; any code conversion.
-                         (if auto-save-p 'no-conversion
+                         (if auto-save-p 'emacs-mule-unix
                            coding-system-for-read)))
                     ;; Note that this preserves point in an intelligent way.
                     (insert-file-contents file-name (not auto-save-p)
@@ -3065,7 +3065,7 @@ non-nil, it is called instead of rereading visited file contents."
                 ;; 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 'no-conversion))
+                (coding-system-for-read 'emacs-mule-unix))
             (erase-buffer)
             (insert-file-contents file-name nil)
             (set-buffer-file-coding-system coding-system))