aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2024-06-04 11:00:32 -0400
committerStefan Monnier2024-06-06 19:25:41 -0400
commit71ac0af5d0191cdf8ebc56066c7ca58dd93487cf (patch)
tree2a308c7e5b2c44212fe6cf025935235f23f0bb92 /etc
parentd12c9bc2a4c8383abdf7fa32b67f1ca0379227e3 (diff)
downloademacs-scratch/editorconfig.tar.gz
emacs-scratch/editorconfig.zip
(hack-dir-local-get-variables-functions): New hookscratch/editorconfig
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 52486b7bbe9..14e5dafbadc 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2163,6 +2163,10 @@ completion candidate.
2163 2163
2164* Lisp Changes in Emacs 30.1 2164* Lisp Changes in Emacs 30.1
2165 2165
2166** New hook 'hack-dir-local-get-variables-functions'.
2167This can be used to provide support for other directory-local settings
2168beside '.dir-locals.el'.
2169
2166+++ 2170+++
2167** 'auto-coding-functions' can know the name of the file. 2171** 'auto-coding-functions' can know the name of the file.
2168The functions on this hook take can now find the name of the file to 2172The functions on this hook take can now find the name of the file to