Variable: which-func-modes

which-func-modes is a customizable variable defined in which-func.el.gz.

Value

t

Documentation

List of major modes for which Which Function mode should be used.

For other modes it is disabled. If this is equal to t, then Which Function mode is enabled in any major mode that supports it.

This variable was added, or its default value changed, in Emacs 24.3.

View in manual

Probably introduced at or before Emacs version 24.3.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/which-func.el.gz
(defcustom which-func-modes t
  ;; '(emacs-lisp-mode c-mode c++-mode objc-mode perl-mode cperl-mode python-mode
  ;;                makefile-mode sh-mode fortran-mode f90-mode ada-mode
  ;;                diff-mode)
  "List of major modes for which Which Function mode should be used.
For other modes it is disabled.  If this is equal to t,
then Which Function mode is enabled in any major mode that supports it."
  :version "24.3"                       ; explicit list -> t
  :type '(choice (const :tag "All modes" t)
		 (repeat (symbol :tag "Major mode"))))