Function: TeX-LaTeX-sentinel-has-warnings

TeX-LaTeX-sentinel-has-warnings is a byte-compiled function defined in tex.el.

Signature

(TeX-LaTeX-sentinel-has-warnings)

Documentation

Return non-nil, if the output buffer contains warnings.

Warnings can be indicated by LaTeX or packages.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-LaTeX-sentinel-has-warnings ()
  "Return non-nil, if the output buffer contains warnings.
Warnings can be indicated by LaTeX or packages."
  (save-excursion
    (goto-char (point-min))
    (re-search-forward (concat "^" LaTeX-warnings-regexp) nil t)))