Variable: TeX-error-last-visited
TeX-error-last-visited is a buffer-local variable defined in tex.el.
Documentation
Index of the last visited error listed in TeX-error-list.
This variable is intended to be set only in output buffer so it will be shared among all files of the same document.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defvar-local TeX-error-last-visited -1
"Index of the last visited error listed in `TeX-error-list'.
This variable is intended to be set only in output buffer so it
will be shared among all files of the same document.")