]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/project.el: Don't run modes from .dir-locals.el.
authorJuri Linkov <juri@linkov.net>
Thu, 14 Mar 2024 17:37:44 +0000 (19:37 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 15 Mar 2024 09:04:58 +0000 (10:04 +0100)
commit6ca36da9938ef8d46c6319d769d3772297b8d7ee
treecfa82f04aa1e95be5aec60b5e96149fc310cbfa2
parent0ee3a7d1dedbd3e93c99e628e1ff47d1ea6c64cf
* lisp/progmodes/project.el: Don't run modes from .dir-locals.el.

(project--value-in-dir): Use 'alist-get' on 'file-local-variables-alist'
to avoid calling 'hack-local-variables-apply' via
'hack-dir-local-variables-non-file-buffer' because it might enable
undesirable modes such as flyspell-mode in a temporary buffer (bug#69740).

(cherry picked from commit bd6b64e0a8856a735b484f0482af0e937eb585d3)
lisp/progmodes/project.el