Function: semantic-imenu-flush-fcn
semantic-imenu-flush-fcn is a byte-compiled function defined in
imenu.el.gz.
Signature
(semantic-imenu-flush-fcn &optional IGNORE)
Documentation
This function is called as a hook to clear the imenu cache.
It is cleared after any parsing. IGNORE arguments.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/imenu.el.gz
(defun semantic-imenu-flush-fcn (&optional _ignore)
"This function is called as a hook to clear the imenu cache.
It is cleared after any parsing.
IGNORE arguments."
(if (eq imenu-create-index-function 'semantic-create-imenu-index)
(setq imenu--index-alist nil
imenu-menubar-modified-tick 0))
(remove-hook 'semantic-after-toplevel-cache-change-hook
#'semantic-imenu-flush-fcn t)
(remove-hook 'semantic-after-partial-cache-change-hook
#'semantic-imenu-flush-fcn t)
)