Commit d73a0317 authored by Glenn Morris's avatar Glenn Morris
Browse files

(rmail-mime): Decode in fundamental-mode. (Bug#4993)

parent b0ca0f33
2009-11-21 Glenn Morris <rgm@gnu.org>
* mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
* net/browse-url.el (browse-url-default-windows-browser): Use
......
......@@ -451,10 +451,14 @@ attachments as specfied by `rmail-mime-attachment-dirs-alist'."
(set-buffer buf)
(setq buffer-undo-list t)
(let ((inhibit-read-only t))
;; Decoding the message in fundamental mode for speed, only
;; switching to rmail-mime-mode at the end for display. Eg
;; quoted-printable-decode-region gets very slow otherwise (Bug#4993).
(fundamental-mode)
(erase-buffer)
(insert data)
(rmail-mime-mode)
(rmail-mime-show t)
(rmail-mime-mode)
(set-buffer-modified-p nil))
(view-buffer buf)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment