changeset 82797:46c1137c9130

Nikolaj Schumacher <n_schumacher at web.de> (tiny change) (eldoc-highlight-function-argument): New face. (eldoc-highlight-function-argument): Use it.
author Glenn Morris <rgm@gnu.org>
date Fri, 24 Aug 2007 02:30:59 +0000
parents 8c21b4187989
children e203765b7fca
files lisp/emacs-lisp/eldoc.el
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/eldoc.el	Fri Aug 24 00:28:53 2007 +0000
+++ b/lisp/emacs-lisp/eldoc.el	Fri Aug 24 02:30:59 2007 +0000
@@ -101,6 +101,11 @@
  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 @@
 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.
     ;;