diff options
author | Glenn Morris <rgm@gnu.org> | 2007-08-24 02:30:59 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-08-24 02:30:59 +0000 |
commit | 43fcc18a256823e093a3aea795451f71e795c553 (patch) | |
tree | a62dc4793890a9094b12d4f4e467c8e62350022f /lisp/emacs-lisp/eldoc.el | |
parent | 5fc9fdeb310edda5cf48bb3d19c103cb7a5017eb (diff) |
Nikolaj Schumacher <n_schumacher at web.de> (tiny change)
(eldoc-highlight-function-argument): New face.
(eldoc-highlight-function-argument): Use it.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r-- | lisp/emacs-lisp/eldoc.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 8b2538d299..1d2441f884 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. ;; |