From 078e01466dee152e9caf4036d3104259282536b6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 7 Apr 1995 06:02:37 +0000 Subject: [PATCH] (fill-region-as-paragraph): If JUSTIFY is non-nil, pass t to justify-current-line. --- lisp/textmodes/fill.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 55cb1d64409..7571ab5cf4c 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -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))) -- 2.39.5