aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/diff.el
diff options
context:
space:
mode:
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.")
161 ;; We have found as many new loci as the user wants, 161 ;; We have found as many new loci as the user wants,
162 ;; or the user wanted a specific diff, and we're past it. 162 ;; or the user wanted a specific diff, and we're past it.
163 (setq found-desired t))) 163 (setq found-desired t)))
164 (if found-desired 164 (set-marker compilation-parsing-end
165 (setq compilation-parsing-end (point)) 165 (if found-desired (point)
166 ;; Set to point-max, not point, so we don't perpetually 166 ;; Set to point-max, not point, so we don't perpetually
167 ;; parse the last bit of text when it isn't a diff header. 167 ;; parse the last bit of text when it isn't a diff header.
168 (setq compilation-parsing-end (point-max))) 168 (point-max)))
169 (message "Parsing differences...done")) 169 (message "Parsing differences...done"))
170 (setq compilation-error-list (nreverse compilation-error-list))) 170 (setq compilation-error-list (nreverse compilation-error-list)))
171 171