summaryrefslogtreecommitdiff
path: root/lisp/diff.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1999-08-28 18:21:34 +0000
committerRichard M. Stallman <rms@gnu.org>1999-08-28 18:21:34 +0000
commit5ef3e90c75faf157b2d8e32233731b89e8e8916b (patch)
tree9c7e27823d9580383f9f01bf3eb3596fa4c0eb3e /lisp/diff.el
parent435d749ca86ce3c1a4f84a460ad51abcecbc0429 (diff)
downloademacs-5ef3e90c75faf157b2d8e32233731b89e8e8916b.tar.gz
(diff-parse-differences):
Use a marker instead of an integer for `compilation-parsing-end'.
Diffstat (limited to 'lisp/diff.el')
-rw-r--r--lisp/diff.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/diff.el b/lisp/diff.el
index f181873384b..358ad9a4c24 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -161,11 +161,11 @@ is nil, REGEXP matches only half a section.")
;; 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)))