Make gnus-output-to-rmail appending work better
* lisp/gnus/gnus-util.el (gnus-output-to-rmail): Ensure we have a blank line before the next line when using mbox format (bug#39580).
This commit is contained in:
@@ -1013,6 +1013,12 @@ FILENAME exists and is Babyl format."
|
||||
(rmail-swap-buffers-maybe)
|
||||
(rmail-maybe-set-message-counters))
|
||||
(widen)
|
||||
(unless babyl
|
||||
(goto-char (point-max))
|
||||
;; Ensure we have a blank line before the next message.
|
||||
(unless (bolp)
|
||||
(insert "\n"))
|
||||
(insert "\n"))
|
||||
(narrow-to-region (point-max) (point-max)))
|
||||
(insert-buffer-substring tmpbuf)
|
||||
(when msg
|
||||
|
||||
Reference in New Issue
Block a user