]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-find-index-name): Improve last change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 29 Jul 2002 01:48:52 +0000 (01:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 29 Jul 2002 01:48:52 +0000 (01:48 +0000)
lisp/info.el

index 07304eabb052720289c7868746c9116673c6ea3d..4acc8bf320c02bba86a2d897605ddfe9dd075ac5 100644 (file)
@@ -1941,7 +1941,7 @@ Give a blank topic name to go to the Index node itself."
                                (regexp-quote name)) nil t)
            ;; Find a function definition with a return type.
            (re-search-forward (format
-                                "[a-zA-Z]+: [a-zA-Z0-9_]+ %s\\( \\|$\\)"
+                                "[a-zA-Z]+: [a-zA-Z0-9_ *&]+ %s\\( \\|$\\)"
                                 (regexp-quote name)) nil t)
            (search-forward (format "`%s'" name) nil t)
            (and (string-match "\\`.*\\( (.*)\\)\\'" name)