aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorEli Zaretskii2025-08-08 14:39:34 +0300
committerEli Zaretskii2025-08-08 14:39:34 +0300
commit5d5a00e4ade7ef2e243947813aa26c0da8eb579a (patch)
tree3cb840d25f8947e91c3897f34460aba97e79c405 /doc/misc
parent4456f7bd313ab829ba3ec6375349a693dbbc1930 (diff)
downloademacs-5d5a00e4ade7ef2e243947813aa26c0da8eb579a.tar.gz
emacs-5d5a00e4ade7ef2e243947813aa26c0da8eb579a.zip
Revert "Autoinsert: Allow condition to be a function"
This reverts commit 738a7bb4949fdc93b0b637ac4c65423c928f0924. It caused regressions in autoinsert-tests, and causes conceptual problems due to its design. (Bug#79178)
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/autotype.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/misc/autotype.texi b/doc/misc/autotype.texi
index 3a1eef1c694..c53be54d0af 100644
--- a/doc/misc/autotype.texi
+++ b/doc/misc/autotype.texi
@@ -275,10 +275,9 @@ empty file is visited. This is accomplished by putting
275 What gets inserted, if anything, is determined by the variable 275 What gets inserted, if anything, is determined by the variable
276@code{auto-insert-alist}. The @sc{car} of each element of this list 276@code{auto-insert-alist}. The @sc{car} of each element of this list
277is either a mode name, making the element applicable when a buffer is 277is either a mode name, making the element applicable when a buffer is
278in that mode, a string, which is a regexp matched against a 278in that mode, or a string, which is a regexp matched against a
279buffer's file name (the latter enables you to distinguish between 279buffer's file name (the latter enables you to distinguish between
280different kinds of files that have the same mode in Emacs) or a custom 280different kinds of files that have the same mode in Emacs). The
281predicate that takes no argument. The
282@sc{car} of an element may also be a cons cell, consisting of mode 281@sc{car} of an element may also be a cons cell, consisting of mode
283name or regexp, as above, and an additional descriptive string. 282name or regexp, as above, and an additional descriptive string.
284 283