[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 88cc9d2 2/2: Count compile errors when FILE is a function
From: |
Mattias Engdegård |
Subject: |
master 88cc9d2 2/2: Count compile errors when FILE is a function |
Date: |
Sun, 18 Jul 2021 14:42:15 -0400 (EDT) |
branch: master
commit 88cc9d22df3cbeac92fb280799fae48d8f839a5a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
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.
---
lisp/progmodes/compile.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 7a02c3a..e4363e1 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -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))))