Function: texinfo-insert-pointer

texinfo-insert-pointer is a byte-compiled function defined in texnfo-upd.el.gz.

Signature

(texinfo-insert-pointer BEGINNING END LEVEL DIRECTION)

Documentation

Insert the Next, Previous or Up node name at point.

Move point forward.

The first and second arguments bound the search for a pointer to the beginning and end, respectively, of the enclosing higher level section. The third argument is the hierarchical level of the Texinfo file, a string such as "section". The fourth argument is direction towards which the pointer is directed, one of next, previous, or up.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/texnfo-upd.el.gz
(defun texinfo-insert-pointer (beginning end level direction)
  "Insert the `Next', `Previous' or `Up' node name at point.
Move point forward.

The first and second arguments bound the search for a pointer to the
beginning and end, respectively, of the enclosing higher level
section.  The third argument is the hierarchical level of the Texinfo
file, a string such as \"section\".  The fourth argument is direction
towards which the pointer is directed, one of `next', `previous', or `up'."

  (end-of-line)
  (insert
   ", "
   (save-excursion
     (texinfo-pointer-name
      (texinfo-find-pointer beginning end level direction)))))