aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Kangas2024-06-29 21:58:53 +0200
committerStefan Kangas2024-06-29 21:59:39 +0200
commitfcd6403d8ebf7ce6e61ba17971d4fdaaaaecf06c (patch)
treee1e1796bc6215f5b0d7af41d2c2e1fad0b0546cb /lisp
parentbc2e9210bf9f09e69a119ad998e05b2123113b5c (diff)
downloademacs-fcd6403d8ebf7ce6e61ba17971d4fdaaaaecf06c.tar.gz
emacs-fcd6403d8ebf7ce6e61ba17971d4fdaaaaecf06c.zip
Complete to "nil" in directory local variables skeleton
* lisp/autoinsert.el (auto-insert-alist): Make "nil" a completion candidate for the directory local variables skeleton. The "nil" value means "any mode" in the context of directory local variable files.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/autoinsert.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index 15fc9ecd469..6b7dcad3899 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -171,7 +171,7 @@ If this contains a %s, that will be replaced by the matching rule."
171 ";;; Directory Local Variables -*- no-byte-compile: t; -*-\n" 171 ";;; Directory Local Variables -*- no-byte-compile: t; -*-\n"
172 ";;; For more information see (info \"(emacs) Directory Variables\")\n\n" 172 ";;; For more information see (info \"(emacs) Directory Variables\")\n\n"
173 "((" 173 "(("
174 '(setq v1 (let (modes) 174 '(setq v1 (let ((modes '("nil")))
175 (mapatoms (lambda (mode) 175 (mapatoms (lambda (mode)
176 (let ((name (symbol-name mode))) 176 (let ((name (symbol-name mode)))
177 (when (string-match "-mode\\'" name) 177 (when (string-match "-mode\\'" name)