Function: TeX-output-revert-buffer
TeX-output-revert-buffer is a byte-compiled function defined in
tex.el.
Signature
(TeX-output-revert-buffer IGNORE-AUTO NOCONFIRM)
Documentation
Rerun the TeX command which of which this buffer was the output.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-output-revert-buffer (_ignore-auto _noconfirm)
"Rerun the TeX command which of which this buffer was the output."
(goto-char (point-min))
(if (looking-at "Running `\\(.*\\)' on `\\(.*\\)' with ``\\(.*\\)''$")
(let ((name (match-string 1))
(file (match-string 2)))
(with-current-buffer TeX-command-buffer
(TeX-command name (if (string-match TeX-region file)
#'TeX-region-file
#'TeX-master-file))))
(error "Unable to find what command to run")))