Function: reftex-index-next-phrase
reftex-index-next-phrase is an interactive and byte-compiled function
defined in reftex-index.el.gz.
Signature
(reftex-index-next-phrase &optional ARG)
Documentation
Index the next ARG phrases in the phrases buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-index.el.gz
;; (add-hook 'reftex-index-phrases-mode-hook #'turn-on-font-lock)
(defun reftex-index-next-phrase (&optional arg)
"Index the next ARG phrases in the phrases buffer."
(interactive "p")
(reftex-index-phrases-parse-header t)
(while (> arg 0)
(cl-decf arg)
(end-of-line)
(if (re-search-forward reftex-index-phrases-phrase-regexp12 nil t)
(progn
(goto-char (match-beginning 0))
(reftex-index-this-phrase 'slave))
(error "No more phrase lines after point"))))