From 70dfbc54d9a6b559dbfcfd6105a7e8c80d78d888 Mon Sep 17 00:00:00 2001 From: Clément Pit--Claudel Date: Sun, 26 Feb 2017 00:28:18 -0500 Subject: 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. --- coq/coq-abbrev.el | 2 +- coq/coq-autotest.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'coq') diff --git a/coq/coq-abbrev.el b/coq/coq-abbrev.el index 2b318dea..a05c9853 100644 --- a/coq/coq-abbrev.el +++ b/coq/coq-abbrev.el @@ -71,7 +71,7 @@ ;; DA: how about above, just temporarily disable saving? (message "Coq default abbrevs loaded"))) -(unless noninteractive +(unless (or noninteractive (bound-and-true-p byte-compile-current-file)) (coq-install-abbrevs)) ;;;;; diff --git a/coq/coq-autotest.el b/coq/coq-autotest.el index b6b361ed..a8367b5c 100644 --- a/coq/coq-autotest.el +++ b/coq/coq-autotest.el @@ -16,7 +16,7 @@ (defvar coq-compile-before-require nil)) -(unless noninteractive +(unless (bound-and-true-p byte-compile-current-file) (pg-autotest start 'debug) -- cgit v1.2.3