From 52f9b7513ffbfe49e0ddbe24ecef816e1a134860 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 10 Nov 2006 01:16:26 +0000 Subject: [PATCH] (revert-buffer): Fix previous change. --- lisp/ChangeLog | 4 ++++ lisp/files.el | 1 + 2 files changed, 5 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a69ab1262c..cb97fa9d3d8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-11-10 Kenichi Handa + + * files.el (revert-buffer): Fix previous change. + 2006-11-09 Juanma Barranquero * bs.el (bs--redisplay): Fix typo in docstring. diff --git a/lisp/files.el b/lisp/files.el index a78d798f38b..9228e547642 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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)))) -- 2.39.5