changeset 25414:7c4808c6804b

(tex-compilation-parse-errors): Use a marker instead of an integer for `compilation-parsing-end'.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Aug 1999 18:22:20 +0000
parents c23f7efbfd57
children 862886e87cf5
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Sat Aug 28 18:21:34 1999 +0000
+++ b/lisp/textmodes/tex-mode.el	Sat Aug 28 18:22:20 1999 +0000
@@ -1151,8 +1151,8 @@
     ;; 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 @@
 		(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"))