aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2008-12-23 04:06:28 +0000
committerRichard M. Stallman2008-12-23 04:06:28 +0000
commit08f66232d50de2e193c4c9f293018e415a23302c (patch)
treeab26cf014bd8a4f5521bf6bf20e07961a044e20b
parent0ff954c7234fecf8c71c704fdd77369a531d4365 (diff)
downloademacs-08f66232d50de2e193c4c9f293018e415a23302c.tar.gz
emacs-08f66232d50de2e193c4c9f293018e415a23302c.zip
(pmail-cease-edit): Put `>' before `From ' lines in message.
-rw-r--r--lisp/mail/pmailedit.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/mail/pmailedit.el b/lisp/mail/pmailedit.el
index 2fd400d2b75..d26a7b681c9 100644
--- a/lisp/mail/pmailedit.el
+++ b/lisp/mail/pmailedit.el
@@ -107,6 +107,12 @@ This functions runs the normal hook `pmail-edit-mode-hook'.
107 (save-excursion 107 (save-excursion
108 (set-buffer pmail-summary-buffer) 108 (set-buffer pmail-summary-buffer)
109 (pmail-summary-enable))) 109 (pmail-summary-enable)))
110 ;; Disguise any "From " lines so they don't start a new message.
111 (save-excursion
112 (goto-char (point-min))
113 (while (search-forward "\nFrom " nil t)
114 (beginning-of-line)
115 (insert ">")))
110 ;; Make sure buffer ends with a blank line 116 ;; Make sure buffer ends with a blank line
111 ;; so as not to run this message together with the following one. 117 ;; so as not to run this message together with the following one.
112 (save-excursion 118 (save-excursion