mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
Fix 'apropos-compact-layout'
* lisp/textmodes/fill.el (fill-region-as-paragraph): Fix filling paragraphs that end at EOB without a newline. (Bug#50974)
This commit is contained in:
parent
62d6cecfcd
commit
b6f6b593c6
@ -768,7 +768,7 @@ space does not end a sentence, so don't break a line there."
|
||||
(setq first nil
|
||||
linebeg (+ (point) (length actual-fill-prefix))))
|
||||
(move-to-column (current-fill-column))
|
||||
(if (when (< (point) to)
|
||||
(if (when (and (< (point) to) (< linebeg to))
|
||||
;; Find the position where we'll break the line.
|
||||
;; Use an immediately following space, if any.
|
||||
;; However, note that `move-to-column' may overshoot
|
||||
|
Loading…
Reference in New Issue
Block a user