mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(Info-find-index-name): Improve last change.
This commit is contained in:
parent
bf29d4c1c6
commit
f2fc5b0a05
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user