Commit 587feed4 authored by Michael Heerdegen's avatar Michael Heerdegen Committed by Stefan Monnier
Browse files

* lisp/emacs-lisp/eldoc.el (eldoc-highlight-function-argument):

Use font-lock-keyword-face for macros and special forms.

Fixes: debbugs:8345
parent a51e9ff7
2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
* emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
Use font-lock-keyword-face for macros and special forms (bug#8345).
2013-02-17 Didier Verna <didier@didierverna.net>
* net/network-stream.el (network-stream-open-starttls):
......
......@@ -356,7 +356,8 @@ In the absence of INDEX, just call `eldoc-docstring-format-sym-doc'."
(setq doc (copy-sequence args))
(add-text-properties start end (list 'face argument-face) doc))
(setq doc (eldoc-docstring-format-sym-doc
sym doc 'font-lock-function-name-face))
sym doc (if (functionp sym) 'font-lock-function-name-face
'font-lock-keyword-face)))
doc)))
;; Return a string containing a brief (one-line) documentation string for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment