[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6ce2acd 2/2: Fix do-auto-fill thinko introduced earlier today
From: |
Lars Ingebrigtsen |
Subject: |
master 6ce2acd 2/2: Fix do-auto-fill thinko introduced earlier today |
Date: |
Fri, 23 Jul 2021 09:57:57 -0400 (EDT) |
branch: master
commit 6ce2acdadb7467fbde01f3d0648acea158836614
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix do-auto-fill thinko introduced earlier today
* lisp/simple.el (do-auto-fill): `current-fill-column' returns nil
to signal that we should fill.
---
lisp/simple.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index ee2698d..1a49fe2 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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