]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix do-auto-fill thinko introduced earlier today
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Jul 2021 13:56:44 +0000 (15:56 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 23 Jul 2021 13:56:44 +0000 (15:56 +0200)
* lisp/simple.el (do-auto-fill): `current-fill-column' returns nil
to signal that we should fill.

lisp/simple.el

index ee2698dc674600c8093429495b08a6bf882cb0a0..1a49fe24252da670d5a790423c41a625967f573c 100644 (file)
@@ -8057,7 +8057,7 @@ Returns t if it really did any work."
   (let (fc justify give-up
           (fill-prefix fill-prefix))
     (if (or (not (setq justify (current-justification)))
-           (setq fc (current-fill-column))
+           (null (setq fc (current-fill-column)))
            (and (eq justify 'left)
                 (<= (current-column) fc))
            (and auto-fill-inhibit-regexp