mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Add no-byte-compile to the ".dir-locals.el" auto-insert template
* lisp/autoinsert.el (auto-insert-alist): Add the no-byte-compile cookie to the ".dir-locals.el" template.
This commit is contained in:
parent
3187225416
commit
08eb639df8
2 changed files with 3 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ If this contains a %s, that will be replaced by the matching rule."
|
|||
|
||||
(".dir-locals.el"
|
||||
nil
|
||||
";;; Directory Local Variables\n"
|
||||
";;; Directory Local Variables -*- no-byte-compile: t; -*-\n"
|
||||
";;; For more information see (info \"(emacs) Directory Variables\")\n\n"
|
||||
"(("
|
||||
'(setq v1 (let (modes)
|
||||
|
|
|
|||
|
|
@ -489,6 +489,8 @@ from the MODE alist ignoring the input argument VALUE."
|
|||
dir-locals-directory-cache))
|
||||
|
||||
;; Insert modified alist of directory-local variables.
|
||||
;; When changing this, also update the ".dir-locals.el" file for
|
||||
;; Emacs itself, as well as the template in autoinsert.el.
|
||||
(insert ";;; Directory Local Variables -*- no-byte-compile: t -*-\n")
|
||||
(insert ";;; For more information see (info \"(emacs) Directory Variables\")\n\n")
|
||||
(princ (dir-locals-to-string
|
||||
|
|
|
|||
Loading…
Reference in a new issue