Variable: which-func-imenu-joiner-function

which-func-imenu-joiner-function is a variable defined in which-func.el.gz.

Value

#[257 "\300!@\207" [last] 3
      ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/progmodes/which-func.elc"
       . 3383)]

Documentation

Function to join together multiple levels of imenu nomenclature.

Called with a single argument, a list of strings giving the names of the menus we had to traverse to get to the item. Returns a single string, the new name of the item.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/which-func.el.gz
;;;###autoload (put 'which-func-format 'risky-local-variable t)

(defvar which-func-imenu-joiner-function (lambda (x) (car (last x)))
  "Function to join together multiple levels of imenu nomenclature.
Called with a single argument, a list of strings giving the names
of the menus we had to traverse to get to the item.  Returns a
single string, the new name of the item.")