branch: elpa/forth-mode
commit 56bbc06a1606cc566cd8b74fd062a8ac1a9f1a9b
Author: Lars Brinkhoff <[email protected]>
Commit: Lars Brinkhoff <[email protected]>
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."