diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2004-05-09 22:41:34 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2004-05-09 22:41:34 +0000 |
commit | 55fdba3190d3fd2311b9c169c2170e9c0d1f7e49 (patch) | |
tree | 8acb83a2a8f23f9e7d75dc6b36710dc7be903b0a /lisp/help-fns.el | |
parent | f0529fe18149c46448178e60cc7475e5e9ce02d0 (diff) | |
download | emacs-55fdba3190d3fd2311b9c169c2170e9c0d1f7e49.tar.gz |
(help-argument-name): Default to italic.
(help-highlight-arguments): Always return (usage . doc).
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 724cfb3b504..df8f9359853 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -237,7 +237,7 @@ KIND should be `var' for a variable or `subr' for a subroutine." (concat "src/" file) file))))) -(defface help-argument-name '((t (:weight bold))) +(defface help-argument-name '((t (:slant italic))) "Face to highlight function arguments in docstrings.") (defun help-do-arg-highlight (doc args) @@ -273,9 +273,9 @@ KIND should be `var' for a variable or `subr' for a subroutine." ;; Highlight aguments in the USAGE string (setq usage (help-do-arg-highlight (buffer-string) args)) ;; Highlight arguments in the DOC string - (setq doc (and doc (help-do-arg-highlight doc args))))) - ;; Return value is like the one from help-split-fundoc, but highlighted - (cons usage doc))) + (setq doc (and doc (help-do-arg-highlight doc args)))))) + ;; Return value is like the one from help-split-fundoc, but highlighted + (cons usage doc)) ;;;###autoload (defun describe-function-1 (function) |