diff options
| author | Stefan Monnier | 2024-06-04 11:00:32 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2024-06-06 19:25:41 -0400 |
| commit | 71ac0af5d0191cdf8ebc56066c7ca58dd93487cf (patch) | |
| tree | 2a308c7e5b2c44212fe6cf025935235f23f0bb92 /etc/NEWS | |
| parent | d12c9bc2a4c8383abdf7fa32b67f1ca0379227e3 (diff) | |
| download | emacs-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/NEWS')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -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'. | ||
| 2167 | This can be used to provide support for other directory-local settings | ||
| 2168 | beside '.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. |
| 2168 | The functions on this hook take can now find the name of the file to | 2172 | The functions on this hook take can now find the name of the file to |