summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2007-08-29 05:03:40 +0000
committerMiles Bader <miles@gnu.org>2007-08-29 05:03:40 +0000
commit1bb9a689acfe821e0aa777ddf4e074556c7817a1 (patch)
treef5478f932f35dc848934f28d5489204ff55e7e89 /lisp/emacs-lisp/eldoc.el
parent45f1ce5dc2e5e7830727b22925ad0ebc834726bd (diff)
parentcb5b9015b372175f1fc90cb7ba3f43298c621509 (diff)
downloademacs-1bb9a689acfe821e0aa777ddf4e074556c7817a1.tar.gz
emacs-1bb9a689acfe821e0aa777ddf4e074556c7817a1.tar.bz2
emacs-1bb9a689acfe821e0aa777ddf4e074556c7817a1.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 857-865) - Update from CVS - Merge from emacs--rel--22 - Update from CVS: lisp/emacs-lisp/avl-tree.el: New file. - Remove RCS keywords * emacs--rel--22 (patch 97-100) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 246-247) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-252
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r--lisp/emacs-lisp/eldoc.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el
index 8b2538d299c..1d2441f884a 100644
--- a/lisp/emacs-lisp/eldoc.el
+++ b/lisp/emacs-lisp/eldoc.el
@@ -101,6 +101,11 @@ truncated to make more of the arglist or documentation string visible."
enable argument list to fit on one line" truncate-sym-name-if-fit))
:group 'eldoc)
+(defface eldoc-highlight-function-argument
+ '((t (:inherit bold)))
+ "Face used for the argument at point in a function's argument list."
+ :group 'eldoc)
+
;;; No user options below here.
(defvar eldoc-message-commands-table-size 31
@@ -303,7 +308,7 @@ highlights argument number INDEX. "
In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'."
(let ((start nil)
(end 0)
- (argument-face 'bold))
+ (argument-face 'eldoc-highlight-function-argument))
;; Find the current argument in the argument string. We need to
;; handle `&rest' and informal `...' properly.
;;