summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2013-02-07 03:04:05 -0500
committerRichard M. Stallman <rms@gnu.org>2013-02-07 03:04:05 -0500
commit469c5a60abb790dec71c152826769c58c36d7870 (patch)
treec198bf1e2694802555030660561a8fbda5e44ce1 /lisp
parent8c4b24b2ab14be6d33d4e979f3de6fb85eff6518 (diff)
downloademacs-469c5a60abb790dec71c152826769c58c36d7870.tar.gz
Force saving without encoding, regardless of current message.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/mail/rmail.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ef97f6a8816..27a223cd644 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-07 Richard Stallman <rms@gnu.org>
+
+ * mail/rmail.el (rmail-variables): Specify `no-conversion' for
+ `save-buffer-coding-system'.
+
2013-02-07 Alan Mackenzie <acm@muc.de>
Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index c6385498dcd..96d341c30d2 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1507,6 +1507,8 @@ If so restore the actual mbox message collection."
(setq file-precious-flag t)
(make-local-variable 'desktop-save-buffer)
(setq desktop-save-buffer t)
+ (make-local-variable 'save-buffer-coding-system)
+ (setq save-buffer-coding-system 'no-conversion)
(setq next-error-move-function 'rmail-next-error-move))
;; Handle M-x revert-buffer done in an rmail-mode buffer.