aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorKarl Heuer1994-04-07 06:56:25 +0000
committerKarl Heuer1994-04-07 06:56:25 +0000
commitc35fb2162d15282de38c19f7b8bbfdce727b784b (patch)
tree84ce8ec5eb77d9aef0e2a133618c961bab13d9c0 /lisp/mail
parent880f22a14aeb6e34c64e4e9edd7711c769453565 (diff)
downloademacs-c35fb2162d15282de38c19f7b8bbfdce727b784b.tar.gz
emacs-c35fb2162d15282de38c19f7b8bbfdce727b784b.zip
(rmail-edit-mode, rmail-cease-edit): Disable summary during edit.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmailedit.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index 700990dadd5..9d084d0aeeb 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -50,6 +50,8 @@ to return to regular RMAIL:
50 (if (boundp 'mode-line-modified) 50 (if (boundp 'mode-line-modified)
51 (setq mode-line-modified (default-value 'mode-line-modified)) 51 (setq mode-line-modified (default-value 'mode-line-modified))
52 (setq mode-line-format (default-value 'mode-line-format))) 52 (setq mode-line-format (default-value 'mode-line-format)))
53 (if (rmail-summary-exists)
54 (rmail-summary-disable))
53 (run-hooks 'text-mode-hook 'rmail-edit-mode-hook)) 55 (run-hooks 'text-mode-hook 'rmail-edit-mode-hook))
54 56
55(defun rmail-edit-current-message () 57(defun rmail-edit-current-message ()
@@ -71,6 +73,8 @@ to return to regular RMAIL:
71(defun rmail-cease-edit () 73(defun rmail-cease-edit ()
72 "Finish editing message; switch back to Rmail proper." 74 "Finish editing message; switch back to Rmail proper."
73 (interactive) 75 (interactive)
76 (if (rmail-summary-exists)
77 (rmail-summary-enable))
74 ;; Make sure buffer ends with a newline. 78 ;; Make sure buffer ends with a newline.
75 (save-excursion 79 (save-excursion
76 (goto-char (point-max)) 80 (goto-char (point-max))