|
From: | Joel Reicher |
Subject: | Re: imenu rescan automatically |
Date: | Mon, 12 Aug 2024 20:50:29 +1000 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Heime <heimeborgia@protonmail.com> writes:
On Monday, August 12th, 2024 at 10:13 PM, Joel Reicher <joel.reicher@gmail.com> wrote:Heime heimeborgia@protonmail.com writes:Yes, the function changes imenu-generic-expression and I want it to do a rescan so the user does not have to manually do it.So add a rescan call to your function? What am I missing?What is the function that achieves this ? Have not found a rescan function type name.
(imenu-flush-cache) Flush the current imenu cache.This forces a full rescan of the buffer to recreate the index alist next time ‘imenu’ is invoked.
I think that will do what you want. Cheers, - Joel
[Prev in Thread] | Current Thread | [Next in Thread] |