aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authormattiasdrp2025-08-05 18:11:58 +0200
committerEli Zaretskii2025-08-07 17:36:45 +0300
commit738a7bb4949fdc93b0b637ac4c65423c928f0924 (patch)
treef81bf34012da44edc67ca98eaf59193fe3fcee0e /admin/notes/java
parent16a5a0f619a245b490ed02e7f5b6a7edb6cb6e95 (diff)
downloademacs-738a7bb4949fdc93b0b637ac4c65423c928f0924.tar.gz
emacs-738a7bb4949fdc93b0b637ac4c65423c928f0924.zip
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. (Bug#79178)
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions