summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-14 03:57:45 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-14 03:57:45 +0000
commit6fb6ab11e162b9ad21fd1c358dd67f3c0378700c (patch)
tree04aef06de586d3be50bc25eeca59ebcb3bda91f7
parent661d3230fb9c718df020512941450054e0647a02 (diff)
downloademacs-6fb6ab11e162b9ad21fd1c358dd67f3c0378700c.tar.gz
(vc-revert-buffer1): Don't assume that compilation-error-list
is a list; it might be t.
-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