]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill-region-as-paragraph): If JUSTIFY is non-nil,
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 06:02:37 +0000 (06:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 06:02:37 +0000 (06:02 +0000)
pass t to justify-current-line.

lisp/textmodes/fill.el

index 55cb1d64409eacd715c64fe7e4d8a2574a733768..7571ab5cf4c85f39a8bba56697c665086e9a0aec 100644 (file)
@@ -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)))