diff options
| author | Richard M. Stallman | 2009-05-17 16:11:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2009-05-17 16:11:23 +0000 |
| commit | f5b574ad033a830b9ace3040e3f7cd8c5780e54e (patch) | |
| tree | 2e9ee42946ea50d9d49749fe155eddd5506c1b09 | |
| parent | eae7d8f84e2805daf127f1bcc7760b241cb76257 (diff) | |
| download | emacs-f5b574ad033a830b9ace3040e3f7cd8c5780e54e.tar.gz emacs-f5b574ad033a830b9ace3040e3f7cd8c5780e54e.zip | |
* mail/rmailedit.el (rmail-edit-current-message):
Call rmail-modify-format here.
(rmail-cease-edit): Not here.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mail/rmailedit.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e0b1739c562..fcb89a96436 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-05-17 Richard M Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmailedit.el (rmail-edit-current-message): | ||
| 4 | Call rmail-modify-format here. | ||
| 5 | (rmail-cease-edit): Not here. | ||
| 6 | |||
| 1 | 2009-05-17 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2009-05-17 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * vc-bzr.el (vc-bzr-state-heuristic): Fallback on vc-bzr-state in case | 9 | * vc-bzr.el (vc-bzr-state-heuristic): Fallback on vc-bzr-state in case |
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el index a4f89b119a1..f63e6870a8f 100644 --- a/lisp/mail/rmailedit.el +++ b/lisp/mail/rmailedit.el | |||
| @@ -88,6 +88,7 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 88 | (interactive) | 88 | (interactive) |
| 89 | (if (zerop rmail-total-messages) | 89 | (if (zerop rmail-total-messages) |
| 90 | (error "No messages in this buffer")) | 90 | (error "No messages in this buffer")) |
| 91 | (rmail-modify-format) | ||
| 91 | (make-local-variable 'rmail-old-pruned) | 92 | (make-local-variable 'rmail-old-pruned) |
| 92 | (setq rmail-old-pruned (rmail-msg-is-pruned)) | 93 | (setq rmail-old-pruned (rmail-msg-is-pruned)) |
| 93 | (rmail-edit-mode) | 94 | (rmail-edit-mode) |
| @@ -117,7 +118,6 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. | |||
| 117 | (defun rmail-cease-edit () | 118 | (defun rmail-cease-edit () |
| 118 | "Finish editing message; switch back to Rmail proper." | 119 | "Finish editing message; switch back to Rmail proper." |
| 119 | (interactive) | 120 | (interactive) |
| 120 | (rmail-modify-format) | ||
| 121 | (if (rmail-summary-exists) | 121 | (if (rmail-summary-exists) |
| 122 | (with-current-buffer rmail-summary-buffer | 122 | (with-current-buffer rmail-summary-buffer |
| 123 | (rmail-summary-enable))) | 123 | (rmail-summary-enable))) |