Variable: find-function-mode-lower-precedence

find-function-mode-lower-precedence is a customizable variable defined in find-func.el.gz.

Value

nil

Documentation

If non-nil, find-function-mode(var)/find-function-mode(fun) defines keys in the global map.

This is for compatibility with the historical behavior of the old find-function-setup-keys.

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

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
;; Custom variables with :set requires everything be defined
(defcustom find-function-mode-lower-precedence nil
  "If non-nil, `find-function-mode' defines keys in the global map.
This is for compatibility with the historical behavior of
the old `find-function-setup-keys'."
  :type 'boolean
  :version "31.1"
  :set (lambda (symbol value)
         ;; Toggle the mode off before changing this setting in order to
         ;; avoid getting into an inconsistent state.
         (let ((already-on find-function-mode))
           (when already-on (find-function-mode -1))
           (set-default symbol value)
           (when already-on (find-function-mode 1)))))