mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(rmail-forward): Delete trailing blank lines.
This commit is contained in:
parent
c08076084e
commit
4d4826ab5c
@ -2253,6 +2253,11 @@ see the documentation of `rmail-resend'."
|
||||
(forward-line 1)
|
||||
(insert "------- Start of forwarded message -------\n")
|
||||
(insert-buffer-substring forward-buffer)
|
||||
(let ((end (point)))
|
||||
(skip-chars-backward "\n")
|
||||
(if (< (point) end)
|
||||
(forward-char 1))
|
||||
(delete-region (point) end))
|
||||
(insert "------- End of forwarded message -------\n")
|
||||
(push-mark))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user