changeset 22498:b7643337d0c3

(rmail): Make the buffer multibyte even if it was already nonempty, if it should be multibyte.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Jun 1998 22:46:24 +0000
parents 5f8133b3c592
children a478a91f3fbb
files lisp/mail/rmail.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Mon Jun 15 22:11:48 1998 +0000
+++ b/lisp/mail/rmail.el	Mon Jun 15 22:46:24 1998 +0000
@@ -525,12 +525,12 @@
       (rmail-mode-2)
       ;; Convert all or part to Babyl file if possible.
       (rmail-convert-file)
-      ;; As we have read a file by raw-text, the buffer is set to
-      ;; unibyte.  We must make it multibyte if necessary.
-      (if (and rmail-enable-multibyte
-	       (not enable-multibyte-characters))
-	  (set-buffer-multibyte t))
       (goto-char (point-max)))
+    ;; As we have read a file by raw-text, the buffer is set to
+    ;; unibyte.  We must make it multibyte if necessary.
+    (if (and rmail-enable-multibyte
+	     (not enable-multibyte-characters))
+	(set-buffer-multibyte t))
     ;; If necessary, scan to find all the messages.
     (rmail-maybe-set-message-counters)
     (unwind-protect