Function: Texinfo-mark-node

Texinfo-mark-node is an interactive and byte-compiled function defined in tex-info.el.

Signature

(Texinfo-mark-node)

Documentation

Mark the current node.

This is the node in which the pointer is. It is starting at previous beginning of keyword @node and ending at next beginning of keyword @node or @bye.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-info.el
(defun Texinfo-mark-node ()
  "Mark the current node.
This is the node in which the pointer is.  It is starting at
previous beginning of keyword `@node' and ending at next
beginning of keyword `@node' or `@bye'."
  (interactive)
  (let ((beg (save-excursion
               (unless (looking-at "^\\s-*@\\(?:node\\)\\_>")
                 (end-of-line))
               (re-search-backward "^\\s-*@\\(?:node\\)\\_>" nil t )))
        (end (save-excursion
               (beginning-of-line)
               (and (re-search-forward "^\\s-*@\\(?:node\\|bye\\)\\_>" nil t )
                    (progn (beginning-of-line) (point))))))

    (when (and beg end)
      (push-mark end)
      (goto-char beg)
      (TeX-activate-region) )))