(Info-find-index-name): Search for a function definition with a return type.

This commit is contained in:
Richard M. Stallman 2002-07-25 18:20:51 +00:00
parent 1fd592a0b0
commit d31c6ecfb5
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,14 @@
2002-07-25 Kevin Ryde <user42@zip.com.au>
* info.el (Info-find-index-name): Search for a function definition
with a return type.
2002-07-25 David Ponce <david@dponce.com>
* emacs-lisp/bytecomp.el (byte-compile-set-symbol-position):
Don't recompute `entry' on each iteration.
(byte-compile-delete-first): Make it defsubst.
2002-07-25 Sam Steingold <sds@gnu.org>
* progmodes/cc-engine.el (c-search-uplist-for-classkey): When
@ -30,7 +41,6 @@
* textmodes/reftex-sel.el (reftex-select-label-mode): likewise.
(reftex-select-bib-mode): likewise
2002-07-25 Colin Walters <walters@debian.org>
* ibuffer.el (ibuffer-mouse-popup-menu): Allow point to be moved

View file

@ -1939,6 +1939,10 @@ Give a blank topic name to go to the Index node itself."
(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