]> git.eshelyaron.com Git - emacs.git/commitdiff
(help-highlight-arguments): Fix braino.
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 9 May 2004 01:28:34 +0000 (01:28 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 9 May 2004 01:28:34 +0000 (01:28 +0000)
lisp/help-fns.el

index 51850288b704ec2bc321a605fe787732cc0123e3..724cfb3b504fa611a58d6f359d168d0b11825b75 100644 (file)
@@ -271,9 +271,9 @@ KIND should be `var' for a variable or `subr' for a subroutine."
               (search-backward "(")
               (goto-char (scan-sexps (point) 1)))))
         ;; 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)))
+        (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)))