Variable: imenu-extract-index-name-function
imenu-extract-index-name-function is a buffer-local variable defined
in imenu.el.gz.
Documentation
Function for extracting the index item name, given a position.
This function is called after imenu-prev-index-position-function
finds a position for an index item, with point at that position.
It should return the name for that index item.
Source Code
;; Defined in /usr/src/emacs/lisp/imenu.el.gz
;;;###autoload
(defvar-local imenu-extract-index-name-function nil
"Function for extracting the index item name, given a position.
This function is called after `imenu-prev-index-position-function'
finds a position for an index item, with point at that position.
It should return the name for that index item.")