Files
emacs/doc/misc
mattiasdrp bd1362b686 Autoinsert: Allow condition to be a function
Currently a condition can only be a regexp or a major-mode symbol but
there's no real reason to not allow any predicate as a condition.
* doc/misc/autotype.texi: Document the new condition type in
'auto-insert-alist'.
* etc/NEWS: Announce the new condition type in 'auto-insert-alist'.
* lisp/autoinsert.el (auto-insert-alist): Add the new condition type to
the variable documentation.
(auto-insert): Change the way the condition is matched to allow for
custom predicates.
* test/lisp/autoinsert-tests.el
(autoinsert-tests-auto-insert-lambda/-nil): Add two tests for
lambdas (nil and t cases)
(autoinsert-tests-auto-insert-predicate/-nil): Add two tests for named
predicates (nil and t cases) (Bug#79178)
2025-08-09 13:35:48 +03:00
..
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-03-29 08:54:30 -04:00
2025-01-02 18:39:42 +01:00
2025-03-21 20:56:12 -04:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-05-03 06:26:31 -04:00
2025-01-25 10:06:19 -05:00
2025-04-28 03:05:41 +03:00
2025-01-02 18:39:42 +01:00
2025-08-02 11:13:41 -04:00
2025-01-25 10:06:19 -05:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-03-15 10:52:45 +02:00
2025-01-02 18:39:42 +01:00
2025-07-15 18:57:49 +02:00
2025-01-02 18:39:42 +01:00
2025-05-24 06:55:24 -04:00
2025-01-02 18:39:42 +01:00
2025-01-02 18:39:42 +01:00
2025-01-25 10:06:19 -05:00