diff options
| author | Richard M. Stallman | 2008-12-23 04:06:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2008-12-23 04:06:28 +0000 |
| commit | 08f66232d50de2e193c4c9f293018e415a23302c (patch) | |
| tree | ab26cf014bd8a4f5521bf6bf20e07961a044e20b | |
| parent | 0ff954c7234fecf8c71c704fdd77369a531d4365 (diff) | |
| download | emacs-08f66232d50de2e193c4c9f293018e415a23302c.tar.gz emacs-08f66232d50de2e193c4c9f293018e415a23302c.zip | |
(pmail-cease-edit): Put `>' before `From ' lines in message.
| -rw-r--r-- | lisp/mail/pmailedit.el | 6 |
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 |