summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2004-05-09 01:28:34 +0000
committerJuanma Barranquero <lekktu@gmail.com>2004-05-09 01:28:34 +0000
commit60c249555a746c612407dc28b9d21caf533ba50b (patch)
tree1b971b7b37da40e2f27f5e8288d37dd22237dc68 /lisp/help-fns.el
parentb1c661c724b9655e11245ad07943278f3d017392 (diff)
downloademacs-60c249555a746c612407dc28b9d21caf533ba50b.tar.gz
(help-highlight-arguments): Fix braino.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 51850288b70..724cfb3b504 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -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)))