Commit 88cc9d22 authored by Mattias Engdegård's avatar Mattias Engdegård
Browse files

Count compile errors when FILE is a function

* lisp/progmodes/compile.el (compilation-parse-errors):
Don't omit messages from the error count when FILE is a function
rather than a regexp match number.
parent 014a6720
Pipeline #11468 failed with stages
in 33 seconds
......@@ -1540,7 +1540,7 @@ to `compilation-error-regexp-alist' if RULES is nil."
file line end-line col end-col
(or type 2) fmt rule))
(when (integerp file)
(when file
(let ((this-type (if (consp type)
(compilation-type type)
(or type 2))))
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