aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-29 01:48:52 +0000
committerRichard M. Stallman2002-07-29 01:48:52 +0000
commitf2fc5b0a05f74f574c21f109476657197869309b (patch)
treec2c1b308ab8dffac219c6b978a4d1988543e47c9
parentbf29d4c1c64c6184ecf090c2c58ca9d6ad9550d0 (diff)
downloademacs-f2fc5b0a05f74f574c21f109476657197869309b.tar.gz
emacs-f2fc5b0a05f74f574c21f109476657197869309b.zip
(Info-find-index-name): Improve last change.
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 07304eabb05..4acc8bf320c 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1941,7 +1941,7 @@ Give a blank topic name to go to the Index node itself."
1941 (regexp-quote name)) nil t) 1941 (regexp-quote name)) nil t)
1942 ;; Find a function definition with a return type. 1942 ;; Find a function definition with a return type.
1943 (re-search-forward (format 1943 (re-search-forward (format
1944 "[a-zA-Z]+: [a-zA-Z0-9_]+ %s\\( \\|$\\)" 1944 "[a-zA-Z]+: [a-zA-Z0-9_ *&]+ %s\\( \\|$\\)"
1945 (regexp-quote name)) nil t) 1945 (regexp-quote name)) nil t)
1946 (search-forward (format "`%s'" name) nil t) 1946 (search-forward (format "`%s'" name) nil t)
1947 (and (string-match "\\`.*\\( (.*)\\)\\'" name) 1947 (and (string-match "\\`.*\\( (.*)\\)\\'" name)