changeset 25413:c23f7efbfd57

(diff-parse-differences): Use a marker instead of an integer for `compilation-parsing-end'.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Aug 1999 18:21:34 +0000
parents 27c66621737f
children 7c4808c6804b
files lisp/diff.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff.el	Sat Aug 28 15:21:55 1999 +0000
+++ b/lisp/diff.el	Sat Aug 28 18:21:34 1999 +0000
@@ -161,11 +161,11 @@
 	      ;; We have found as many new loci as the user wants,
 	      ;; or the user wanted a specific diff, and we're past it.
 	  (setq found-desired t)))
-    (if found-desired
-	(setq compilation-parsing-end (point))
-      ;; Set to point-max, not point, so we don't perpetually
-      ;; parse the last bit of text when it isn't a diff header.
-      (setq compilation-parsing-end (point-max)))
+    (set-marker compilation-parsing-end
+		(if found-desired (point)
+		  ;; Set to point-max, not point, so we don't perpetually
+		  ;; parse the last bit of text when it isn't a diff header.
+		  (point-max)))
     (message "Parsing differences...done"))
   (setq compilation-error-list (nreverse compilation-error-list)))