mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 14:40:54 -08:00
(rmail-edit-mode, rmail-cease-edit): Disable summary during edit.
This commit is contained in:
parent
880f22a14a
commit
c35fb2162d
1 changed files with 4 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ to return to regular RMAIL:
|
|||
(if (boundp 'mode-line-modified)
|
||||
(setq mode-line-modified (default-value 'mode-line-modified))
|
||||
(setq mode-line-format (default-value 'mode-line-format)))
|
||||
(if (rmail-summary-exists)
|
||||
(rmail-summary-disable))
|
||||
(run-hooks 'text-mode-hook 'rmail-edit-mode-hook))
|
||||
|
||||
(defun rmail-edit-current-message ()
|
||||
|
|
@ -71,6 +73,8 @@ to return to regular RMAIL:
|
|||
(defun rmail-cease-edit ()
|
||||
"Finish editing message; switch back to Rmail proper."
|
||||
(interactive)
|
||||
(if (rmail-summary-exists)
|
||||
(rmail-summary-enable))
|
||||
;; Make sure buffer ends with a newline.
|
||||
(save-excursion
|
||||
(goto-char (point-max))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue