From: Richard M. Stallman Date: Thu, 7 Feb 2013 08:04:05 +0000 (-0500) Subject: Force saving without encoding, regardless of current message. X-Git-Tag: emacs-24.3.90~173^2~7^2~136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=469c5a60abb790dec71c152826769c58c36d7870;p=emacs.git Force saving without encoding, regardless of current message. --- 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.