Prevent .dir-locals.el from being byte-compiled
* lisp/files-x.el (modify-dir-local-variable): Add a 'no-byte-compile' file local variable when generating a .dir-locals.el file. * .dir-locals.el: Add 'no-byte-compile'. (Bug#58486)
This commit is contained in:
parent
db69681759
commit
6539eb0588
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
;;; Directory Local Variables
|
||||
;;; Directory Local Variables -*- no-byte-compile: t; -*-
|
||||
;;; For more information see (info "(emacs) Directory Variables")
|
||||
|
||||
((nil . ((tab-width . 8)
|
||||
|
|
|
@ -489,7 +489,7 @@ from the MODE alist ignoring the input argument VALUE."
|
|||
dir-locals-directory-cache))
|
||||
|
||||
;; Insert modified alist of directory-local variables.
|
||||
(insert ";;; Directory Local Variables\n")
|
||||
(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
|
||||
(sort variables
|
||||
|
|
Loading…
Add table
Reference in a new issue