diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-23 15:56:44 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-23 15:56:44 +0200 |
commit | 6ce2acdadb7467fbde01f3d0648acea158836614 (patch) | |
tree | 101fe56b1086740617b3384e041c392594d84dc1 /lisp | |
parent | ad5faa424a5d2f0d67265906d21f7af98220df26 (diff) | |
download | emacs-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.el | 2 |
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 |