aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-06-15 22:46:24 +0000
committerRichard M. Stallman1998-06-15 22:46:24 +0000
commite995c41549be09c249f1c196328a1fe9e7cb8b74 (patch)
tree6be148dd9f4a1496c50285036ff5148832d89360
parente9d7cff0fa3f3a4b9f65794ae79c6e4022d4cf42 (diff)
downloademacs-e995c41549be09c249f1c196328a1fe9e7cb8b74.tar.gz
emacs-e995c41549be09c249f1c196328a1fe9e7cb8b74.zip
(rmail): Make the buffer multibyte
even if it was already nonempty, if it should be multibyte.
-rw-r--r--lisp/mail/rmail.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index d73181cde29..7f366b37739 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -525,12 +525,12 @@ If `rmail-display-summary' is non-nil, make a summary for this RMAIL file."
525 (rmail-mode-2) 525 (rmail-mode-2)
526 ;; Convert all or part to Babyl file if possible. 526 ;; Convert all or part to Babyl file if possible.
527 (rmail-convert-file) 527 (rmail-convert-file)
528 ;; As we have read a file by raw-text, the buffer is set to
529 ;; unibyte. We must make it multibyte if necessary.
530 (if (and rmail-enable-multibyte
531 (not enable-multibyte-characters))
532 (set-buffer-multibyte t))
533 (goto-char (point-max))) 528 (goto-char (point-max)))
529 ;; As we have read a file by raw-text, the buffer is set to
530 ;; unibyte. We must make it multibyte if necessary.
531 (if (and rmail-enable-multibyte
532 (not enable-multibyte-characters))
533 (set-buffer-multibyte t))
534 ;; If necessary, scan to find all the messages. 534 ;; If necessary, scan to find all the messages.
535 (rmail-maybe-set-message-counters) 535 (rmail-maybe-set-message-counters)
536 (unwind-protect 536 (unwind-protect