From 6ce2acdadb7467fbde01f3d0648acea158836614 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 23 Jul 2021 15:56:44 +0200 Subject: [PATCH] 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 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 -- 2.39.2