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.
This commit is contained in:
@@ -171,7 +171,7 @@ If this contains a %s, that will be replaced by the matching rule."
|
||||
";;; Directory Local Variables -*- no-byte-compile: t; -*-\n"
|
||||
";;; For more information see (info \"(emacs) Directory Variables\")\n\n"
|
||||
"(("
|
||||
'(setq v1 (let (modes)
|
||||
'(setq v1 (let ((modes '("nil")))
|
||||
(mapatoms (lambda (mode)
|
||||
(let ((name (symbol-name mode)))
|
||||
(when (string-match "-mode\\'" name)
|
||||
|
||||
Reference in New Issue
Block a user