On 10/12/2024 21:50, Suhail Singh wrote:
Since 2022-10-05, when adding directory-local-variables, the no-byte-compile cookie gets set. I believe this change was introduced in response to bug #58486.
Thanks for educating me. I found that the changelog entry
Add no-byte-compile to the ".dir-locals.el" auto-insert template
is more clear than the commit message
* lisp/files-x.el (modify-dir-local-variable): Add a 'no-byte-compile' file local variable when generating a .dir-locals.el file.
At first I did not realize that the new lines match the template. I would expect setting `no-byte-compile' to nil for `lisp-data-mode' (or for .dir-locals.el files) by default instead of adding the cookie to every file.