aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-04-07 06:02:37 +0000
committerRichard M. Stallman <[email protected]>1995-04-07 06:02:37 +0000
commit078e01466dee152e9caf4036d3104259282536b6 (patch)
treedf518071c4afc1e6c799e805ae6e36153911c24e
parentb69328cae2cba9bcfc8f27aa15ca75649ac7b51e (diff)
(fill-region-as-paragraph): If JUSTIFY is non-nil,
pass t to justify-current-line.
-rw-r--r--lisp/textmodes/fill.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index 55cb1d6440..7571ab5cf4 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)))