changeset 103239:03dd2dfb499f

* mail/rmailedit.el (rmail-edit-current-message): Call rmail-modify-format here. (rmail-cease-edit): Not here.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 May 2009 16:11:23 +0000
parents 074577abd4d1
children b92b1964f068
files lisp/ChangeLog lisp/mail/rmailedit.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun May 17 16:09:22 2009 +0000
+++ b/lisp/ChangeLog	Sun May 17 16:11:23 2009 +0000
@@ -1,3 +1,9 @@
+2009-05-17  Richard M Stallman  <rms@gnu.org>
+
+	* mail/rmailedit.el (rmail-edit-current-message):
+	Call rmail-modify-format here.
+	(rmail-cease-edit): Not here.
+
 2009-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* vc-bzr.el (vc-bzr-state-heuristic): Fallback on vc-bzr-state in case
--- a/lisp/mail/rmailedit.el	Sun May 17 16:09:22 2009 +0000
+++ b/lisp/mail/rmailedit.el	Sun May 17 16:11:23 2009 +0000
@@ -88,6 +88,7 @@
   (interactive)
   (if (zerop rmail-total-messages)
       (error "No messages in this buffer"))
+  (rmail-modify-format)
   (make-local-variable 'rmail-old-pruned)
   (setq rmail-old-pruned (rmail-msg-is-pruned))
   (rmail-edit-mode)
@@ -117,7 +118,6 @@
 (defun rmail-cease-edit ()
   "Finish editing message; switch back to Rmail proper."
   (interactive)
-  (rmail-modify-format)
   (if (rmail-summary-exists)
       (with-current-buffer rmail-summary-buffer
 	(rmail-summary-enable)))