Function: TeX-next-error

TeX-next-error is an interactive and byte-compiled function defined in tex.el.

Signature

(TeX-next-error &optional ARG REPARSE)

Documentation

Find the next error in the TeX output buffer.

A prefix ARG specifies how many error messages to move; negative means move back to previous error messages, if possible.

If REPARSE is non-nil, reparse the error message buffer.

C-u (universal-argument) as a prefix means reparse the error message buffer and start at the first error.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-next-error (&optional arg reparse)
  "Find the next error in the TeX output buffer.

A prefix ARG specifies how many error messages to move;
negative means move back to previous error messages, if possible.

If REPARSE is non-nil, reparse the error message buffer.

\\[universal-argument] as a prefix means reparse the error
message buffer and start at the first error."
  (interactive "P")
  (if (or (null (TeX-active-buffer))
          (eq 'compilation-mode (with-current-buffer TeX-command-buffer
                                  major-mode)))
      (next-error arg reparse)

    ;; Force reparsing when the function is called with a universal-argument.
    (if (consp arg) (setq reparse t arg nil))

    (funcall (TeX-get-parse-function) arg reparse)))