Function: TeX-index-sentinel
TeX-index-sentinel is a byte-compiled function defined in tex.el.
Signature
(TeX-index-sentinel PROCESS NAME)
Documentation
Cleanup TeX output buffer after compiling index.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-index-sentinel (_process _name)
"Cleanup TeX output buffer after compiling index."
(goto-char (point-max))
(cond
((search-backward "TeX Output exited abnormally" nil t)
(message "Index failed. Type `%s' to display output."
(substitute-command-keys
"\\<TeX-mode-map>\\[TeX-recenter-output-buffer]")))
(t
(setq TeX-command-next TeX-command-default)
(message (concat "Index finished successfully. "
"Run LaTeX again to get index right.")))))