diff options
| author | Dmitry Gutov | 2026-01-01 04:12:49 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2026-01-01 04:13:30 +0200 |
| commit | 6c832af157055335f625256df66f8f10432b1644 (patch) | |
| tree | 967d6b0080daa5f91b593c8ec079c669328109af /admin/notes/java | |
| parent | 20e1a57d443c5fc36aa6c09a644870dfa0bceb3e (diff) | |
| download | emacs-6c832af157055335f625256df66f8f10432b1644.tar.gz emacs-6c832af157055335f625256df66f8f10432b1644.zip | |
Allow project-vc-ignores to be applied in more cases
Discussed in
https://lists.gnu.org/archive/html/emacs-devel/2025-12/msg00903.html.
* lisp/progmodes/project.el (project-files) <vc>: Look up the
value of 'project-vc-ignores' inside DIR rather than project root.
This allows this variable to be applied in external dirs as well.
(project-ignores) <vc>: Do likewise.
(project--value-in-dir): Ensure that DIR has a trailing slash.
The caller might pass the value without slash if produced
differently.
* test/lisp/progmodes/project-tests.el
(project-vc-ignores-in-external-directory): New test.
(project-vc-supports-files-in-subdirectory): Update the test,
considering the subtle change in behavior: the directory DIR
directly includes a .dir-locals.el which sets project-vc-ignores,
which wasn't previously applied because it wasn't set in the root.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions