Commit e9c8e248 authored by Roland McGrath's avatar Roland McGrath
Browse files

(vc-revert-buffer1): Ignore non-marker elts of compilation-error-list.

parent 0b18a8f6
......@@ -282,10 +282,11 @@ the master name of FILE; this is appended to an optional list of FLAGS."
(buffer-error-marked-p nil))
(while (and errors
(not buffer-error-marked-p))
(if (eq buffer
(marker-buffer
(car (cdr (car errors)))))
(setq buffer-error-marked-p t))
(and (markerp (car (cdr (car errors))))
(eq buffer
(marker-buffer
(car (cdr (car errors)))))
(setq buffer-error-marked-p t))
(setq errors (cdr errors)))
(if buffer-error-marked-p buffer)))
(buffer-list)))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment