aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2005-06-15 00:14:41 +0000
committerMiles Bader2005-06-15 00:14:41 +0000
commit9ce2eb5ebbfda09baafdc5b1cb8f807192f96bfe (patch)
treed0040673be9f7040b8b798f887d424d0f9cb61ce
parent63a5fd63030a0ca98c1a1ab3410cdb7721e77924 (diff)
downloademacs-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.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/which-func.el6
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e24311ca65f..d932c49995c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12005-06-14 Miles Bader <miles@gnu.org> 12005-06-14 Miles Bader <miles@gnu.org>
2 2
3 * progmodes/which-func.el (which-func): Remove "-face" suffix from face
4 name.
5 (which-func-face): New backward-compatibility alias for renamed face.
6 (which-func-format): Use renamed which-func face.
7
3 * progmodes/vhdl-mode.el (vhdl-prompt, vhdl-attribute, vhdl-enumvalue) 8 * progmodes/vhdl-mode.el (vhdl-prompt, vhdl-attribute, vhdl-enumvalue)
4 (vhdl-function, vhdl-directive, vhdl-reserved-word) 9 (vhdl-function, vhdl-directive, vhdl-reserved-word)
5 (vhdl-translate-off): Remove "-face" suffix and "font-lock-" from face 10 (vhdl-translate-off): Remove "-face" suffix and "font-lock-" from face
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.
119Defaults to `font-lock-function-name-face' if font-lock is loaded." 119Defaults 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 "]")