diff options
| author | Eli Zaretskii | 2025-08-08 14:39:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2025-08-08 14:39:34 +0300 |
| commit | 5d5a00e4ade7ef2e243947813aa26c0da8eb579a (patch) | |
| tree | 3cb840d25f8947e91c3897f34460aba97e79c405 /doc/misc | |
| parent | 4456f7bd313ab829ba3ec6375349a693dbbc1930 (diff) | |
| download | emacs-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.texi | 5 |
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 |
| 277 | is either a mode name, making the element applicable when a buffer is | 277 | is either a mode name, making the element applicable when a buffer is |
| 278 | in that mode, a string, which is a regexp matched against a | 278 | in that mode, or a string, which is a regexp matched against a |
| 279 | buffer's file name (the latter enables you to distinguish between | 279 | buffer's file name (the latter enables you to distinguish between |
| 280 | different kinds of files that have the same mode in Emacs) or a custom | 280 | different kinds of files that have the same mode in Emacs). The |
| 281 | predicate 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 |
| 283 | name or regexp, as above, and an additional descriptive string. | 282 | name or regexp, as above, and an additional descriptive string. |
| 284 | 283 | ||