Function: makeinfo-current-node
makeinfo-current-node is a byte-compiled function defined in
makeinfo.el.gz.
Signature
(makeinfo-current-node)
Documentation
Return the name of the node containing point, in a texinfo file.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/makeinfo.el.gz
(defun makeinfo-current-node ()
"Return the name of the node containing point, in a texinfo file."
(save-excursion
(end-of-line) ; in case point is at the start of an @node line
(if (re-search-backward "^@node\\s-+\\([^,\n]+\\)" (point-min) t)
(match-string 1)
"Top")))