From cf83dad395a7bd03610bf9bfc9e379139cd7c563 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Thu, 12 Feb 2026 05:15:30 +0200 Subject: [PATCH] Revise the paragraph about project-vc's caching * doc/emacs/maintaining.texi (VC-Aware Project Backend): Rephrase and mention a way to force invalitation (bug#78545). --- doc/emacs/maintaining.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 91784ff71ef..1d54af130a9 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -2323,9 +2323,10 @@ configuration (if any), excluding the ``ignored'' files from the output. It has some performance optimizations for listing the files with some of the popular VCS systems (currently Git and Mercurial). -It also uses a cache for some of the computations, for shorter or longer -periods of time, depending on whether it's being used from an -interactive command, or from non-essential code running in background. +@findex project-remember-projects-under +It also uses a time-based cache. If the mode line shows stale project +information, you can type @kbd{M-x project-remember-projects-under RET} +to refresh the stale cached info. @defopt project-vc-include-untracked By default, files which are neither registered with nor ignored by the