From: Juanma Barranquero Date: Sun, 9 May 2004 22:41:34 +0000 (+0000) Subject: (help-argument-name): Default to italic. X-Git-Tag: ttn-vms-21-2-B4~6321 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55fdba3190d3fd2311b9c169c2170e9c0d1f7e49;p=emacs.git (help-argument-name): Default to italic. (help-highlight-arguments): Always return (usage . doc). --- 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)