Commit 79424eea authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(fill-region-as-paragraph): Use save-excursion instead of relying on

forward-line to bring us where we started.
parent 4599773d
......@@ -660,9 +660,9 @@ space does not end a sentence, so don't break a line there."
(justify-current-line justify t t))
(forward-line -1)
(justify-current-line justify nil t)
(forward-line 1))))))
(forward-line -1)
(justify-current-line justify nil t)))))))
;; Leave point after final newline.
(goto-char to))
(unless (eobp)
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