Function: Info-find-in-tag-table

Info-find-in-tag-table is a byte-compiled function defined in info.el.gz.

Signature

(Info-find-in-tag-table MARKER REGEXP &optional STRICT-CASE)

Documentation

Find a node in a tag table.

MARKER specifies the buffer and position to start searching at. REGEXP is a regular expression matching nodes or references. Its first group should match Node: or Ref:. If a match was found, value is a list (FOUND-ANCHOR POS MODE), where FOUND-ANCHOR is non-nil if a Ref: was matched, POS is the file position where the match was found, and MODE is major-mode of the buffer in which the match was found. This function tries to find a case-sensitive match first, then a case-insensitive match is tried (unless optional argument STRICT-CASE is non-nil).

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
(defun Info-find-in-tag-table (marker regexp &optional strict-case)
  "Find a node in a tag table.
MARKER specifies the buffer and position to start searching at.
REGEXP is a regular expression matching nodes or references.  Its first
group should match `Node:' or `Ref:'.
If a match was found, value is a list (FOUND-ANCHOR POS MODE), where
FOUND-ANCHOR is non-nil if a `Ref:' was matched, POS is the file position
where the match was found, and MODE is `major-mode' of the buffer in
which the match was found.
This function tries to find a case-sensitive match first, then a
case-insensitive match is tried (unless optional argument STRICT-CASE
is non-nil)."
  (let ((result (Info-find-in-tag-table-1 marker regexp nil)))
    (or strict-case (car result)
	(setq result (Info-find-in-tag-table-1 marker regexp t)))
    result))