]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-mode-auto-fill): Use insert-before-markers.
authorRichard M. Stallman <rms@gnu.org>
Tue, 15 Jul 1997 19:34:10 +0000 (19:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 15 Jul 1997 19:34:10 +0000 (19:34 +0000)
lisp/mail/sendmail.el

index 712974be01b4fab33e8509e1f07703565e2f1c08..f4c75e020f75df8e313d75f4cd553bf2f0ba0a10 100644 (file)
@@ -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)))