diff lisp/mail/rmailedit.el @ 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 203183ff293d
children e59e70025fe8
line wrap: on
line diff
--- 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)))