summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 2b7df01e99a..7f17c3cb007 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -289,7 +289,7 @@ the master name of FILE; this is appended to an optional list of FLAGS."
compilation-old-error-list
compilation-error-list))
(buffer-error-marked-p nil))
- (while (and errors
+ (while (and (consp errors)
(not buffer-error-marked-p))
(and (markerp (cdr (car errors)))
(eq buffer