aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-autotest.el
diff options
context:
space:
mode:
Diffstat (limited to 'coq/coq-autotest.el')
-rw-r--r--coq/coq-autotest.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/coq/coq-autotest.el b/coq/coq-autotest.el
index b6b361ed..e3c4b978 100644
--- a/coq/coq-autotest.el
+++ b/coq/coq-autotest.el
@@ -10,13 +10,10 @@
(require 'pg-autotest)
-(eval-when (compile)
- (require 'proof-site)
- (proof-ready-for-assistant 'coq)
- (defvar coq-compile-before-require nil))
+(require 'proof-site)
+(defvar coq-compile-before-require)
-
-(unless noninteractive
+(unless (bound-and-true-p byte-compile-current-file)
(pg-autotest start 'debug)