From ee13a145ea15e9bd352a3fd920281195e2686789 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 28 Aug 1999 18:22:20 +0000 Subject: [PATCH] (tex-compilation-parse-errors): Use a marker instead of an integer for `compilation-parsing-end'. --- lisp/textmodes/tex-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")) -- 2.39.5