summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2004-05-09 22:41:34 +0000
committerJuanma Barranquero <lekktu@gmail.com>2004-05-09 22:41:34 +0000
commitc084937e4a9fd50f923cbfc6f8d351e84ef9acf2 (patch)
tree65595fe28ef59827e0c5dc6e1633dedc250b0d72 /lisp/help-fns.el
parentee29c9dd17346bb5ff504d141d8d3d667b266d74 (diff)
downloademacs-c084937e4a9fd50f923cbfc6f8d351e84ef9acf2.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.el8
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)