Commit 137ea8af authored by Glenn Morris's avatar Glenn Morris
Browse files

(rmail-sort-messages): Use rmail-ensure-blank-line.

parent 26eb677a
......@@ -220,10 +220,7 @@ Numeric keys are sorted numerically, all others as strings."
(insert-buffer-substring
(current-buffer) (nth 2 msginfo) (nth 3 msginfo))
;; The last message may not have \n\n after it.
(unless (bolp)
(insert "\n"))
(unless (looking-back "\n\n")
(insert "\n"))
(rmail-ensure-blank-line)
(delete-region (nth 2 msginfo) (nth 3 msginfo))
;; Is current message?
(if (nth 1 msginfo)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment