From: Richard M. Stallman Date: Sat, 28 Aug 1999 18:22:20 +0000 (+0000) Subject: (tex-compilation-parse-errors): X-Git-Tag: emacs-pretest-21.0.90~7027 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee13a145ea15e9bd352a3fd920281195e2686789;p=emacs.git (tex-compilation-parse-errors): Use a marker instead of an integer for `compilation-parsing-end'. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index c620a25fc64..80063307942 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -1151,8 +1151,8 @@ for the error messages." ;; Single quotations may appear in errors (modify-syntax-entry ?\" "_" tex-error-parse-syntax-table) ;; Don't parse previous compilations. - (setq compilation-parsing-end - (max compilation-parsing-end tex-start-tex-marker)) + (set-marker compilation-parsing-end + (max compilation-parsing-end tex-start-tex-marker)) ;; Don't reparse messages already seen at last parse. (goto-char compilation-parsing-end) ;; Parse messages. @@ -1217,7 +1217,7 @@ for the error messages." (cons (cons this-error error-location) compilation-error-list)) (goto-char end-of-error))))) - (setq compilation-parsing-end (point)) + (set-marker compilation-parsing-end (point)) (setq compilation-error-list (nreverse compilation-error-list)) (message "Parsing error messages...done"))