Function: texinfo-pointer-name
texinfo-pointer-name is a byte-compiled function defined in
texnfo-upd.el.gz.
Signature
(texinfo-pointer-name KIND)
Documentation
Return the node name preceding the section command.
The argument is the kind of section, either normal or no-pointer.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/texnfo-upd.el.gz
(defun texinfo-pointer-name (kind)
"Return the node name preceding the section command.
The argument is the kind of section, either `normal' or `no-pointer'."
(let (name)
(cond ((eq kind 'normal)
(end-of-line) ; this handles prev node top case
(re-search-backward ; when point is already
"^@node" ; at the beginning of @node line
(line-beginning-position -2)
t)
(setq name (texinfo-copy-node-name)))
((eq kind 'no-pointer)
;; Don't need to put a blank in the pointer slot,
;; since insert "' " always has a space
(setq name " "))) ; put a blank in the pointer slot
name))