emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-goggles 79a25e4da1 163/225: make compile: use dolist


From: ELPA Syncer
Subject: [nongnu] elpa/evil-goggles 79a25e4da1 163/225: make compile: use dolist instead of mapc
Date: Wed, 12 Jan 2022 08:59:05 -0500 (EST)

branch: elpa/evil-goggles
commit 79a25e4da1dbddfd45b8824bd9e1585a24838baa
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>

    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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]