diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2025-08-09 13:38:10 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2025-08-09 13:38:10 +0300 |
| commit | 477e44fca38dbdf6dd17f24ca3c61544b1640605 (patch) | |
| tree | 70a1ae9d6a78934fab803a4dc88541f981c56873 /lisp/autoinsert.el | |
| parent | bd1362b686c7dd9083322a587b7738d0da12395c (diff) | |
; * lisp/autoinsert.el (auto-insert-alist): Fix last change.
Diffstat (limited to 'lisp/autoinsert.el')
| -rw-r--r-- | lisp/autoinsert.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index a09689d65b9..d5ccb7d1e0e 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el @@ -323,11 +323,11 @@ The document was typeset with ")) "A list specifying text to insert by default into a new file. Elements look like (CONDITION . ACTION) or ((CONDITION . DESCRIPTION) . ACTION). -CONDITION may be a regexp that must match the new file's name, or it may be -a symbol that must match the major mode for this element to apply. -CONDITION can also be a custom predicate of no arguments declared with -'(predicate FUNCTION)'. Emacs will insert the text if the predicate -function returns non-nil. +CONDITION may be a regexp that must match the new file's name, or it +may be a symbol that must match the major mode for this element to apply. +CONDITION can also be a custom predicate of no arguments declared +with (predicate FUNCTION). Emacs will insert the text if the +predicate function returns non-nil. Only the first matching element is effective. Optional DESCRIPTION is a string for filling `auto-insert-prompt'. ACTION may be a skeleton to insert (see `skeleton-insert'), an absolute |
