Commit c35fb216 authored by Karl Heuer's avatar Karl Heuer
Browse files

(rmail-edit-mode, rmail-cease-edit): Disable summary during edit.

parent 880f22a1
......@@ -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)
(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."
(if (rmail-summary-exists)
;; Make sure buffer ends with a newline.
(goto-char (point-max))
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