1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 23:50:36 -08:00
emacs/doc
Dmitry Gutov 583a112169 Do cache and timed invalidation in "VC-aware" project backend
* lisp/progmodes/project.el: Describe the new cache in Commentary,
the "VC-aware project" section.
(project-vc-cache-timeout)
(project-vc-non-essential-cache-timeout): New variables.
(project--get-cached, project--set-cached):
New functions.
(project-try-vc, project--value-in-dir): Use them.
(project--read-dir-locals): New function, extracted from the
above.  Return the full alist, to be saved to cache at once.
(project--clear-cache): New function.
(project-remember-projects-under)
(project-forget-zombie-projects, project-forget-projects-under):
Use it.
(project-uniquify-dirname-transform, project-mode-line-format):
Bind 'non-essential' to choose the longer caching strategy.
(project-name-cache-timeout, project-name-cached): Remove.
(project-mode-line-format): Switch to calling 'project-name'
directly, with the new caching in use.

Co-authored-by: Juri Linkov <juri@linkov.net>
2026-02-10 02:54:14 +02:00
..
emacs Do cache and timed invalidation in "VC-aware" project backend 2026-02-10 02:54:14 +02:00
lispintro ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
lispref ; * doc/lispref/os.texi (Timers): Fix typo. 2026-02-09 18:31:04 +01:00
man ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
misc Support D-Bus file descriptor manipulation 2026-02-07 11:32:54 +01:00
translations ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00