diff options
| author | Miles Bader | 2005-06-15 00:14:41 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-06-15 00:14:41 +0000 |
| commit | 9ce2eb5ebbfda09baafdc5b1cb8f807192f96bfe (patch) | |
| tree | d0040673be9f7040b8b798f887d424d0f9cb61ce /lisp/progmodes | |
| parent | 63a5fd63030a0ca98c1a1ab3410cdb7721e77924 (diff) | |
| download | emacs-9ce2eb5ebbfda09baafdc5b1cb8f807192f96bfe.tar.gz emacs-9ce2eb5ebbfda09baafdc5b1cb8f807192f96bfe.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-417
Remove "-face" suffix from which-func face
2005-06-14 Miles Bader <miles@gnu.org>
* lisp/progmodes/which-func.el (which-func): Remove "-face" suffix from face
name.
(which-func-face): New backward-compatibility alias for renamed face.
(which-func-format): Use renamed which-func face.
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 | "]") |