(concat "^" (regexp-quote mail-header-separator) "$"))
(forward-line 1)
(insert "------- Start of forwarded message -------\n")
- (insert-buffer-substring forward-buffer)
+ ;; Quote lines with `- ' if they start with `-'.
+ (let ((beg (point)) end)
+ (insert-buffer-substring forward-buffer)
+ (goto-char beg)
+ (while (re-search-forward "^-" nil t)
+ (beginning-of-line)
+ (insert "- ")
+ (forward-line 1))
+ (goto-char (point-max)))
(let ((end (point)))
(skip-chars-backward "\n")
(if (< (point) end)