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

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

[nongnu] elpa/forth-mode 56bbc06a16 079/153: Error out if byte compilati


From: ELPA Syncer
Subject: [nongnu] elpa/forth-mode 56bbc06a16 079/153: Error out if byte compilation fails in Emacs 23.
Date: Sat, 29 Jan 2022 08:02:20 -0500 (EST)

branch: elpa/forth-mode
commit 56bbc06a1606cc566cd8b74fd062a8ac1a9f1a9b
Author: Lars Brinkhoff <lars.brinkhoff@delphi.com>
Commit: Lars Brinkhoff <lars.brinkhoff@delphi.com>

    Error out if byte compilation fails in Emacs 23.
---
 build.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/build.el b/build.el
index b8c16ad6c7..4ada50e009 100644
--- a/build.el
+++ b/build.el
@@ -11,8 +11,11 @@
     `(progn ,@body))
   (defun ert-run-tests-batch-and-exit (&optional x)
     (kill-emacs 0))
-  (defun should (arg))
-  (defun should-not (arg)))
+  (defun should (arg)
+    (unless arg
+      (kill-emacs 1)))
+  (defun should-not (arg)
+    (should (not arg))))
 
 (ert-deftest compile-package ()
   "Compile package."



reply via email to

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