From: Richard M. Stallman Date: Mon, 15 Jun 1998 22:46:24 +0000 (+0000) Subject: (rmail): Make the buffer multibyte X-Git-Tag: emacs-20.3~581 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e995c41549be09c249f1c196328a1fe9e7cb8b74;p=emacs.git (rmail): Make the buffer multibyte even if it was already nonempty, if it should be multibyte. --- 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." (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