From: Richard M. Stallman Date: Fri, 7 Apr 1995 06:02:37 +0000 (+0000) Subject: (fill-region-as-paragraph): If JUSTIFY is non-nil, X-Git-Tag: emacs-19.34~4611 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=078e01466dee152e9caf4036d3104259282536b6;p=emacs.git (fill-region-as-paragraph): If JUSTIFY is non-nil, pass t to justify-current-line. --- 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)))