diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2017-02-26 00:28:18 -0500 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2017-03-08 15:06:17 -0500 |
commit | 70dfbc54d9a6b559dbfcfd6105a7e8c80d78d888 (patch) | |
tree | e68885d95d7281f758d41f5f8a8249a4ddb76509 /hol-light | |
parent | 6c703907b192bc903ca9897e17424e58e2003692 (diff) |
Fix incorrect assumption that noninteractive == byte-compiling
The PG Makefile does ensure (using --batch) that noninteractive is non-nil while
compiling, but package.el doesn't.
Diffstat (limited to 'hol-light')
-rw-r--r-- | hol-light/hol-light-autotest.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hol-light/hol-light-autotest.el b/hol-light/hol-light-autotest.el index 20c16727..b9924c41 100644 --- a/hol-light/hol-light-autotest.el +++ b/hol-light/hol-light-autotest.el @@ -8,14 +8,14 @@ (eval-when-compile (require 'cl)) -(eval-when (compile) +(eval-when-compile (require 'proof-site) (proof-ready-for-assistant 'coq) (defvar coq-compile-before-require nil)) (require 'pg-autotest) -(unless noninteractive +(unless (bound-and-true-p byte-compile-current-file) (pg-autotest start 'debug) (pg-autotest log ".autotest.log") ; convention |