summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-04-02 17:54:02 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-04-02 17:54:02 -0400
commit6df2941c1b0d965afc40f8c50ce08e45e060d64c (patch)
treecd494852768cafd1ad1dcbb60b5bbcf35a89df8a /etc
parent5223762e02ac84eee984cd1f7a17865766cdad9a (diff)
downloademacs-6df2941c1b0d965afc40f8c50ce08e45e060d64c.tar.gz
lisp/simple.el (inhibit-auto-fill): New var
* lisp/simple.el (inhibit-auto-fill): New var. (internal-auto-fill): Obey it. (newline): Use it instead of binding `auto-fill-function`, so as to avoid messing up the state if something wants to enable/disable `auto-fill-mode` during the course of the let binding (bug#62419).
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 67e1a02d587..d20d9f65ac9 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -319,6 +319,8 @@ hooks named after the feature name, like 'esh-mode-unload-hook'.
* Lisp Changes in Emacs 30.1
+** New var 'inhibit-auto-fill' to temporarily prevent auto-fill.
+
** Functions and variables to transpose sexps
+++