diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-10-05 19:45:27 +0200 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-10-14 18:07:53 +0200 |
commit | 6539eb05889c783d782f114d9c072208d3080561 (patch) | |
tree | ecc3ce3e1c3d35d568d22f19bf6649818208c8b3 /lisp/files-x.el | |
parent | db69681759991d5403552682706accd6218b731f (diff) | |
download | emacs-6539eb05889c783d782f114d9c072208d3080561.tar.gz |
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)
Diffstat (limited to 'lisp/files-x.el')
-rw-r--r-- | lisp/files-x.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files-x.el b/lisp/files-x.el index da1e44e2504..f6d5d6cc272 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el @@ -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 |