diff options
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/which-func.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el index 1fa37532ab0..960eec2208c 100644 --- a/lisp/progmodes/which-func.el +++ b/lisp/progmodes/which-func.el | |||
| @@ -113,17 +113,19 @@ Zero means compute the Imenu menu regardless of size." | |||
| 113 | map) | 113 | map) |
| 114 | "Keymap to display on mode line which-func.") | 114 | "Keymap to display on mode line which-func.") |
| 115 | 115 | ||
| 116 | (defface which-func-face | 116 | (defface which-func |
| 117 | '((t (:inherit font-lock-function-name-face))) | 117 | '((t (:inherit font-lock-function-name-face))) |
| 118 | "Face used to highlight mode line function names. | 118 | "Face used to highlight mode line function names. |
| 119 | Defaults to `font-lock-function-name-face' if font-lock is loaded." | 119 | Defaults to `font-lock-function-name-face' if font-lock is loaded." |
| 120 | :group 'which-func) | 120 | :group 'which-func) |
| 121 | ;; backward-compatibility alias | ||
| 122 | (put 'which-func-face 'face-alias 'which-func) | ||
| 121 | 123 | ||
| 122 | (defcustom which-func-format | 124 | (defcustom which-func-format |
| 123 | `("[" | 125 | `("[" |
| 124 | (:propertize which-func-current | 126 | (:propertize which-func-current |
| 125 | local-map ,which-func-keymap | 127 | local-map ,which-func-keymap |
| 126 | face which-func-face | 128 | face which-func |
| 127 | ;;mouse-face highlight ; currently not evaluated :-( | 129 | ;;mouse-face highlight ; currently not evaluated :-( |
| 128 | help-echo "mouse-1: go to beginning, mouse-2: toggle rest visibility, mouse-3: go to end") | 130 | help-echo "mouse-1: go to beginning, mouse-2: toggle rest visibility, mouse-3: go to end") |
| 129 | "]") | 131 | "]") |