]> code.delx.au - gnu-emacs/commitdiff
(revert-buffer): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Fri, 10 Nov 2006 01:16:26 +0000 (01:16 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 10 Nov 2006 01:16:26 +0000 (01:16 +0000)
lisp/ChangeLog
lisp/files.el

index 1a69ab1262c130cf98f7a157b8fe5083a7860f5e..cb97fa9d3d83bdb6f57a283dabac15eb2c9297e6 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-10  Kenichi Handa  <handa@m17n.org>
+
+       * files.el (revert-buffer): Fix previous change.
+
 2006-11-09  Juanma Barranquero  <lekktu@gmail.com>
 
        * bs.el (bs--redisplay): Fix typo in docstring.
index a78d798f38ba21bce5c30eac49c4a95740776f68..9228e5476423b5e1d629e0bd5a21276987d11b89 100644 (file)
@@ -4095,6 +4095,7 @@ non-nil, it is called instead of rereading visited file contents."
                            (or coding-system-for-read
                                buffer-file-coding-system-explicit))))
                     (if (and (not enable-multibyte-characters)
+                             coding-system-for-read
                              (not (memq (coding-system-base
                                          coding-system-for-read)
                                         '(no-conversion raw-text))))