diff lisp/info.el @ 46691:ac544e207278

(Info-find-index-name): Search for a function definition with a return type.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Jul 2002 18:19:43 +0000
parents 6953d46b05f5
children bebf069404ac
line wrap: on
line diff
--- a/lisp/info.el	Thu Jul 25 18:18:10 2002 +0000
+++ b/lisp/info.el	Thu Jul 25 18:19:43 2002 +0000
@@ -1939,6 +1939,10 @@
     (if (or (re-search-forward (format
 				"[a-zA-Z]+: %s\\( \\|$\\)"
 				(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\\( \\|$\\)"
+                                (regexp-quote name)) nil t)
 	    (search-forward (format "`%s'" name) nil t)
 	    (and (string-match "\\`.*\\( (.*)\\)\\'" name)
 		 (search-forward