diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-04-07 06:02:37 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-04-07 06:02:37 +0000 |
commit | 6976ef338e5d021dc413b6eea32c2bd215b8834c (patch) | |
tree | de9e66e46aacd515307da384a81a1af04c4d3783 /lisp/textmodes/fill.el | |
parent | 00c6185c8b31f64555e95a52a248220e5b60fa18 (diff) | |
download | emacs-6976ef338e5d021dc413b6eea32c2bd215b8834c.tar.gz |
(fill-region-as-paragraph): If JUSTIFY is non-nil,
pass t to justify-current-line.
Diffstat (limited to 'lisp/textmodes/fill.el')
-rw-r--r-- | lisp/textmodes/fill.el | 4 |
1 files 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))) |