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

(rmail-write-region-annotate): Prevent viewing different

messages from messing up the file coding.  (Bug#4623)
parent f3e3a990
2009-10-17 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
messages from messing up the file coding. (Bug#4623)
2009-10-17 Jari Aalto <jari.aalto@cante.net>
* textmodes/ispell.el (ispell-get-decoded-string): Give an error
......
......@@ -4176,6 +4176,9 @@ encoded string (and the same mask) will decode the string."
(defun rmail-write-region-annotate (start end)
(when (and (null start) (rmail-buffers-swapped-p))
(set-buffer rmail-view-buffer)
;; Prevent viewing different messages from messing up the coding. (Bug#4623)
;; FIXME is there a better solution?
(set (make-local-variable 'coding-system-for-write) 'no-conversion)
(widen)
nil))
......
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