changeset 55479:50b878285992

(help-argument-name): Default to italic. (help-highlight-arguments): Always return (usage . doc).
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 09 May 2004 22:41:34 +0000
parents c6ec5bf17a29
children 2b17345e6be9
files lisp/help-fns.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help-fns.el	Sun May 09 22:37:12 2004 +0000
+++ b/lisp/help-fns.el	Sun May 09 22:41:34 2004 +0000
@@ -237,7 +237,7 @@
 	    (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 @@
         ;; 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)