From 469c5a60abb790dec71c152826769c58c36d7870 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 7 Feb 2013 03:04:05 -0500 Subject: [PATCH] Force saving without encoding, regardless of current message. --- lisp/ChangeLog | 5 +++++ lisp/mail/rmail.el | 2 ++ 2 files changed, 7 insertions(+) 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 + + * mail/rmail.el (rmail-variables): Specify `no-conversion' for + `save-buffer-coding-system'. + 2013-02-07 Alan Mackenzie 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. -- 2.39.5