Function: Info-find-node-in-buffer

Info-find-node-in-buffer is a byte-compiled function defined in info.el.gz.

Signature

(Info-find-node-in-buffer REGEXP &optional STRICT-CASE)

Documentation

Find a node or anchor in the current buffer.

REGEXP is a regular expression matching nodes or references. Its first group should match Node: or Ref:. Value is the position at which a match was found, or nil if not found. This function looks for a case-sensitive match first. If none is found, 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-node-in-buffer (regexp &optional strict-case)
  "Find a node or anchor in the current buffer.
REGEXP is a regular expression matching nodes or references.  Its first
group should match `Node:' or `Ref:'.
Value is the position at which a match was found, or nil if not found.
This function looks for a case-sensitive match first.  If none is found,
a case-insensitive match is tried (unless optional argument STRICT-CASE
is non-nil)."
  (or (Info-find-node-in-buffer-1 regexp nil)
      (and (not strict-case)
	   (Info-find-node-in-buffer-1 regexp t))))