changeset 2774:ea8a7ab72d14

(vc-revert-buffer1): Don't assume that compilation-error-list is a list; it might be t.
author Richard M. Stallman <rms@gnu.org>
date Fri, 14 May 1993 03:57:45 +0000
parents 8ab8f28b78d1
children 72277ed7609e
files lisp/vc.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Thu May 13 20:06:18 1993 +0000
+++ b/lisp/vc.el	Fri May 14 03:57:45 1993 +0000
@@ -289,7 +289,7 @@
 						   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