aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/fill.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 4faa89ae724..a8a98524838 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -660,9 +660,10 @@ space does not end a sentence, so don't break a line there."
660 (let (linebeg) 660 (let (linebeg)
661 (while (< (point) to) 661 (while (< (point) to)
662 (setq linebeg (point)) 662 (setq linebeg (point))
663 (move-to-column (1+ (current-fill-column))) 663 (move-to-column (current-fill-column))
664 (if (when (< (point) to) 664 (if (when (< (point) to)
665 ;; Find the position where we'll break the line. 665 ;; Find the position where we'll break the line.
666 (forward-char 1) ;Use an immediately following space, if any.
666 (fill-move-to-break-point linebeg) 667 (fill-move-to-break-point linebeg)
667 ;; Check again to see if we got to the end of 668 ;; Check again to see if we got to the end of
668 ;; the paragraph. 669 ;; the paragraph.