aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-02-25 19:35:35 -0500
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-03-08 15:06:17 -0500
commit98f2e463287e3562dc7b7126e062919a8604ca4a (patch)
treee2fc6e477e8c82f4cc1db25cb81931ca9e680a84 /coq
parent673082b2bee3ca327db56bdc559f7f925259d1c8 (diff)
Remove compile-time calls to proof-ready-for-assistant
Compilation used to run in a separate Emacs process for each file, but that's not what happens when installing PG with package.el.
Diffstat (limited to 'coq')
-rw-r--r--coq/coq-autotest.el7
-rw-r--r--coq/coq-compile-common.el6
-rw-r--r--coq/coq-system.el3
-rw-r--r--coq/coq.el3
4 files changed, 6 insertions, 13 deletions
diff --git a/coq/coq-autotest.el b/coq/coq-autotest.el
index a8367b5c..e3c4b978 100644
--- a/coq/coq-autotest.el
+++ b/coq/coq-autotest.el
@@ -10,11 +10,8 @@
(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 (bound-and-true-p byte-compile-current-file)
diff --git a/coq/coq-compile-common.el b/coq/coq-compile-common.el
index 48772889..c557f474 100644
--- a/coq/coq-compile-common.el
+++ b/coq/coq-compile-common.el
@@ -15,14 +15,12 @@
(require 'proof-shell)
(require 'coq-system)
+(require 'compile)
(eval-when (compile)
;;(defvar coq-pre-v85 nil)
- (require 'compile)
(defvar coq-confirm-external-compilation); defpacustom
- (defvar coq-compile-parallel-in-background) ; defpacustom
- (proof-ready-for-assistant 'coq)) ; compile for coq
-
+ (defvar coq-compile-parallel-in-background)) ; defpacustom
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
diff --git a/coq/coq-system.el b/coq/coq-system.el
index 67081ea4..ad85a960 100644
--- a/coq/coq-system.el
+++ b/coq/coq-system.el
@@ -16,8 +16,7 @@
(eval-when-compile
(require 'cl)
- (require 'proof-compat)
- (proof-ready-for-assistant 'coq))
+ (require 'proof-compat))
(eval-when (compile)
(defvar coq-prog-args)
diff --git a/coq/coq.el b/coq/coq.el
index b60606c3..2c8e4cfa 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -30,8 +30,7 @@
(defvar coq-time-commands) ; defpacustom
(defvar coq-use-project-file t) ; defpacustom
(defvar coq-use-editing-holes) ; defpacustom
- (defvar coq-hide-additional-subgoals)
- (proof-ready-for-assistant 'coq)) ; compile for coq
+ (defvar coq-hide-additional-subgoals))
(require 'proof)
(require 'coq-system) ; load path, option, project file etc.