branch: elpa/evil-goggles
commit 79a25e4da1dbddfd45b8824bd9e1585a24838baa
Author: Evgeni Kolev <[email protected]>
Commit: Evgeni Kolev <[email protected]>
make compile: use dolist instead of mapc
---
test/make-compile.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/test/make-compile.el b/test/make-compile.el
index e285a109ed..fe3b9961b8 100644
--- a/test/make-compile.el
+++ b/test/make-compile.el
@@ -1,9 +1,8 @@
-(setq files '("evil-goggles.el"))
+;; bail out on compilation warnings and errors
(setq byte-compile-error-on-warn t)
(setq byte-compile--use-old-handlers nil)
-(mapc (lambda (file)
- (unless (byte-compile-file file)
- (kill-emacs 1)))
- files)
-
+;; compile *.el files
+(dolist (file (file-expand-wildcards "evil-goggles*.el"))
+ (unless (byte-compile-file file)
+ (kill-emacs 1)))