* faces.el (help-argument-name): Define it here instead of

help-fns.el, because in daemon mode help-fns.el may be loaded when
faces are still uninitialized (Bug#1078).

* help-fns.el (help-argument-name): Move defface to faces.el.
This commit is contained in:
Chong Yidong 2009-08-13 15:59:34 +00:00
parent 850d0752fb
commit 6c58c39c35
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2009-08-13 Chong Yidong <cyd@stupidchicken.com>
* faces.el (help-argument-name): Define it here instead of
help-fns.el, because in daemon mode help-fns.el may be loaded when
faces are still uninitialized (Bug#1078).
* help-fns.el (help-argument-name): Move defface to faces.el.
2009-08-13 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to

View file

@ -2506,6 +2506,9 @@ Note: Other faces cannot inherit from the cursor face."
:group 'menu
:group 'basic-faces)
(defface help-argument-name '((((supports :slant italic)) :inherit italic))
"Face to highlight argument names in *Help* buffers."
:group 'help)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Manipulating font names.

View file

@ -158,10 +158,6 @@ KIND should be `var' for a variable or `subr' for a subroutine."
(concat "src/" file)
file)))))
(defface help-argument-name '((((supports :slant italic)) :inherit italic))
"Face to highlight argument names in *Help* buffers."
:group 'help)
(defun help-default-arg-highlight (arg)
"Default function to highlight arguments in *Help* buffers.
It returns ARG in face `help-argument-name'; ARG is also