summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-07-23 15:56:44 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-07-23 15:56:44 +0200
commit6ce2acdadb7467fbde01f3d0648acea158836614 (patch)
tree101fe56b1086740617b3384e041c392594d84dc1 /lisp
parentad5faa424a5d2f0d67265906d21f7af98220df26 (diff)
downloademacs-6ce2acdadb7467fbde01f3d0648acea158836614.tar.gz
emacs-6ce2acdadb7467fbde01f3d0648acea158836614.tar.bz2
emacs-6ce2acdadb7467fbde01f3d0648acea158836614.zip
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index ee2698dc674..1a49fe24252 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