Variable: TeX-error-report-switches

TeX-error-report-switches is a variable defined in tex.el.

Value

nil

Documentation

Reports presence of errors after TeX-run-TeX.

Actually, TeX-run-format sets it. To test whether the current buffer has a compile error from last run of TeX-run-format, use
  (TeX-error-report-has-errors-p)

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defvar TeX-error-report-switches nil
  "Reports presence of errors after `TeX-run-TeX'.
Actually, `TeX-run-format' sets it.
To test whether the current buffer has a compile error from last
run of `TeX-run-format', use
  (TeX-error-report-has-errors-p)")