mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
Fix 'rmail-revert' with non-ASCII characters in email messages
* lisp/mail/rmail.el (rmail-revert): Don't convert the buffer to multibyte, it should remain unibyte for the revert to DTRT.
This commit is contained in:
parent
107dfb4db8
commit
5ab3553e70
|
|
@ -1517,11 +1517,6 @@ If so restore the actual mbox message collection."
|
|||
(rmail-mode-2)
|
||||
;; Convert all or part to Babyl file if possible.
|
||||
(rmail-convert-file-maybe)
|
||||
;; We have read the file as raw-text, so the buffer is set to
|
||||
;; unibyte. Make it multibyte if necessary.
|
||||
(if (and rmail-enable-multibyte
|
||||
(not enable-multibyte-characters))
|
||||
(set-buffer-multibyte t))
|
||||
(goto-char (point-max))
|
||||
(rmail-set-message-counters)
|
||||
(rmail-show-message rmail-total-messages)
|
||||
|
|
|
|||
Loading…
Reference in a new issue