summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/vc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index fb2d1b2f042..c143fe93e5a 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -282,7 +282,7 @@ the master name of FILE; this is appended to an optional list of FLAGS."
;; Move the pointer up to find the error we were at before
;; reparsing. Now next-error should properly go to the next one.
(while (and compilation-error-list
- (/= error-pos (car (car errors))))
+ (/= error-pos (car (car compilation-error-list))))
(setq compilation-error-list (cdr compilation-error-list))))))
(setq reparse (cdr reparse)))