changeset 106481:665bd5e777e1

*** empty log message ***
author Eli Zaretskii <eliz@gnu.org>
date Mon, 07 Dec 2009 19:21:57 +0000
parents a4e55fa99487
children 806e9f7990d8
files lisp/ChangeLog
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Dec 07 19:21:15 2009 +0000
+++ b/lisp/ChangeLog	Mon Dec 07 19:21:57 2009 +0000
@@ -1,3 +1,17 @@
+2009-12-07  Eli Zaretskii  <eliz@gnu.org>
+
+	Prevent save-buffer in Rmail buffers from using the coding-system
+	of the current message, and from clobbering the encoding mnemonics
+	in the mode line (Bug#4623).
+
+	* mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
+	flag, too.
+	(rmail-message-encoding): New variable.
+	(rmail-write-region-annotate): Record the encoding of the current
+	message in rmail-message-encoding.
+	(rmail-after-save-hook): New function, restores the encoding of
+	the current message after the message collection is saved.
+
 2009-12-07  Juri Linkov  <juri@jurta.org>
 
 	* progmodes/grep.el (grep-read-files): Use `completing-read'