diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/rmail.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 91ad7d783ff..2e2880872df 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2251,7 +2251,15 @@ see the documentation of `rmail-resend'." | |||
| 2251 | (concat "^" (regexp-quote mail-header-separator) "$")) | 2251 | (concat "^" (regexp-quote mail-header-separator) "$")) |
| 2252 | (forward-line 1) | 2252 | (forward-line 1) |
| 2253 | (insert "------- Start of forwarded message -------\n") | 2253 | (insert "------- Start of forwarded message -------\n") |
| 2254 | (insert-buffer-substring forward-buffer) | 2254 | ;; Quote lines with `- ' if they start with `-'. |
| 2255 | (let ((beg (point)) end) | ||
| 2256 | (insert-buffer-substring forward-buffer) | ||
| 2257 | (goto-char beg) | ||
| 2258 | (while (re-search-forward "^-" nil t) | ||
| 2259 | (beginning-of-line) | ||
| 2260 | (insert "- ") | ||
| 2261 | (forward-line 1)) | ||
| 2262 | (goto-char (point-max))) | ||
| 2255 | (let ((end (point))) | 2263 | (let ((end (point))) |
| 2256 | (skip-chars-backward "\n") | 2264 | (skip-chars-backward "\n") |
| 2257 | (if (< (point) end) | 2265 | (if (< (point) end) |