Commit 28afe199 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mail-mode-auto-fill): Use insert-before-markers.

parent e744155a
......@@ -371,7 +371,9 @@ If within the headers, this makes the new lines into continuation lines."
(save-excursion
(beginning-of-line)
(while (not (eq (point) old-line-start))
(insert " ")
;; Use insert-before-markers in case we're inserting
;; before the saved value of point (which is common).
(insert-before-markers " ")
(forward-line -1))
t)))
(do-auto-fill)))
......
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