diff options
-rw-r--r-- | lisp/textmodes/fill.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 5a39ba4d8b1..af491603fc8 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -660,9 +660,9 @@ space does not end a sentence, so don't break a line there." (progn (delete-horizontal-space) (justify-current-line justify t t)) - (forward-line -1) - (justify-current-line justify nil t) - (forward-line 1)))))) + (save-excursion + (forward-line -1) + (justify-current-line justify nil t))))))) ;; Leave point after final newline. (goto-char to)) (unless (eobp) |