]> git.eshelyaron.com Git - emacs.git/commit
(hack-dir-local-get-variables-functions): New hook
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 4 Jun 2024 15:00:32 +0000 (11:00 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Jun 2024 09:52:44 +0000 (11:52 +0200)
commit8249eb4ac28a5643c930acba9997e77b1b7e5ddb
treeaaef17d55e8b7841e3a8ac41413076d97f90eef5
parentb6fca74632a14e673195f837dd40c9b7034a9eed
(hack-dir-local-get-variables-functions): New hook

Make it possible to provide more dir-local variables, such as
done by the Editorconfig package.

* lisp/files.el (hack-dir-local--get-variables): Make arg optional.
(hack-dir-local-get-variables-functions): New hook.
(hack-dir-local-variables): Run it instead of calling
`hack-dir-local--get-variables`.

* doc/lispref/variables.texi (Directory Local Variables):
Document the new hook.

(cherry picked from commit 8253228d55b368ad7ea4d66d802059e8afff2b12)
doc/lispref/variables.texi
etc/NEWS
lisp/files.el