changeset 11247:a8c9d37ebe90

(fill-region-as-paragraph): If JUSTIFY is non-nil, pass t to justify-current-line.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 1995 06:02:37 +0000
parents c7f6b5b57b71
children 23dc83e963f6
files lisp/textmodes/fill.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/fill.el	Fri Apr 07 05:46:47 1995 +0000
+++ b/lisp/textmodes/fill.el	Fri Apr 07 06:02:37 1995 +0000
@@ -335,9 +335,9 @@
 	      ;; 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)))