Variable: which-func-keymap
which-func-keymap is a variable defined in which-func.el.gz.
Value
<mode-line> <mouse-1> beginning-of-defun
<mode-line> <mouse-2> #<anonymous-function>
<mode-line> <mouse-3> end-of-defun
Documentation
Keymap to display on mode line which-func.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/which-func.el.gz
(defvar which-func-keymap
(let ((map (make-sparse-keymap)))
(define-key map [mode-line mouse-1] 'beginning-of-defun)
(define-key map [mode-line mouse-2]
(lambda ()
(interactive)
(if (eq (point-min) 1)
(narrow-to-defun)
(widen))))
(define-key map [mode-line mouse-3] 'end-of-defun)
map)
"Keymap to display on mode line which-func.")