Commit f5b574ad authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

* mail/rmailedit.el (rmail-edit-current-message):

Call rmail-modify-format here.
(rmail-cease-edit): Not here.
parent eae7d8f8
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
......
......@@ -88,6 +88,7 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'.
(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 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'.
(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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment