Support .dir-locals-2.el in auto-insert-mode
* lisp/autoinsert.el (auto-insert-alist): Use Directory Local Variables skeleton also for ".dir-locals-2.el".
This commit is contained in:
@@ -166,7 +166,7 @@ If this contains a %s, that will be replaced by the matching rule."
|
||||
(replace-match (capitalize (user-login-name)) t t))
|
||||
'(end-of-line 1) " <" (progn user-mail-address) ">\n")
|
||||
|
||||
(".dir-locals.el"
|
||||
((,(rx ".dir-locals" (? "-2") ".el") . "Directory Local Variables")
|
||||
nil
|
||||
";;; Directory Local Variables -*- no-byte-compile: t; -*-\n"
|
||||
";;; For more information see (info \"(emacs) Directory Variables\")\n\n"
|
||||
|
||||
Reference in New Issue
Block a user