mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-19 18:13:55 +00:00
(fill-region-as-paragraph): If JUSTIFY is non-nil,
pass t to justify-current-line.
This commit is contained in:
parent
b69328cae2
commit
078e01466d
@ -335,9 +335,9 @@ space does not end a sentence, so don't break a line there."
|
||||
;; Justify the line just ended, if desired.
|
||||
(if justify
|
||||
(if (eobp)
|
||||
(justify-current-line justify t t)
|
||||
(justify-current-line (not (null justify)) t t)
|
||||
(forward-line -1)
|
||||
(justify-current-line justify nil t)
|
||||
(justify-current-line (not (null justify)) nil t)
|
||||
(forward-line 1))))))
|
||||
;; Leave point after final newline.
|
||||
(goto-char (point-max)))
|
||||
|
Loading…
Reference in New Issue
Block a user