Commit e7029763 authored by Karl Heuer's avatar Karl Heuer
Browse files

(fill-region-as-paragraph): Fix previous change.

parent 071ebee9
......@@ -546,9 +546,13 @@ space does not end a sentence, so don't break a line there."
;; character to find the correct break point.
(if (not (and (eq (charset-after (1- (point))) 'ascii)
(eq (charset-after (point)) 'ascii)))
(fill-find-break-point (+ linebeg
(current-left-margin)
(length fill-prefix))))))
;; Make sure we take SOMETHING after the
;; fill prefix if any.
(fill-find-break-point
(save-excursion
(goto-char linebeg)
(move-to-column prefixcol)
(point))))))
;; If the left margin and fill prefix by themselves
;; pass the fill-column, keep at least one word.
......
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