mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
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.
This commit is contained in:
parent
014a67200c
commit
88cc9d22df
1 changed files with 1 additions and 1 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue