1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
emacs/doc
Dmitry Gutov 6c832af157 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.
2026-01-01 04:13:30 +02:00
..
emacs Allow project-vc-ignores to be applied in more cases 2026-01-01 04:13:30 +02:00
lispintro ; Fix file name in "Loading Files" doc. 2025-07-24 22:13:47 -07:00
lispref track-changes.el (track-changes-undo-only): New var 2025-12-28 22:32:23 -05:00
man Manual pages: use a showcase time-stamp-pattern 2025-10-16 17:29:01 -07:00
misc Sync with Tramp 2.8.1 2025-12-31 12:57:38 +01:00
translations Update copyright year to 2025 2025-01-02 18:39:42 +01:00