Mercurial > emacs
diff lisp/view.el @ 55351:07c85e772ee2
(help-argument-name): New face, inheriting from
font-lock-variable-name-face, to highlight function arguments in
`describe-function' and `describe-key'.
(help-do-arg-highlight): Auxiliary function to highlight a given list of
arguments in a string.
(help-highlight-arguments): Highlight the function arguments and all uses
of them in the docstring.
(describe-function-1): Use it. Do docstring output via `insert', not
'princ', so text attributes are preserved.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 May 2004 00:20:00 +0000 |
parents | 202b0dc516a5 |
children | 3ac03a07be63 4c90ffeb71c5 |