bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20589: 25.0.50; Lack of imenu-flush-cache function


From: Lars Ingebrigtsen
Subject: bug#20589: 25.0.50; Lack of imenu-flush-cache function
Date: Thu, 12 May 2022 04:24:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Marcin Borkowski <mbork@mbork.pl> writes:

> As mentioned by Stefan Monnier in this Emacs.SE answer:
> http://stackoverflow.com/a/13447080/1181665, there seems to be a need
> for a imenu-flush-cache function.  IIUC from that answer:
>
> ,----
> | Indeed, there's no imenu-rescan function. Looking at the general way
> | the code works, I think it makes sense there's no such function, but
> | there should be a imenu-flush-cache function, which is missing. Please
> | M-x report-emacs-bug requesting such a new feature. In the mean time,
> | you can (setq imenu--index-alist nil) to flush the cache by hand.
> `----
>
> it should just call (setq imenu--index-alist nil).

I've now added this to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]