aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-14 10:35:46 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-14 10:35:46 +0000
commitae4394c4dbb2451770bb46b45a192b4ccd4f51b4 (patch)
tree53b04d4726f77a822d03aa21bfb470fabb58e959 /coq
parentbad260e0cc29299403a81b43cc85c5d947785893 (diff)
Remove eval-when, seems unreliable
Diffstat (limited to 'coq')
-rw-r--r--coq/coq-abbrev.el2
-rw-r--r--coq/coq-autotest.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/coq/coq-abbrev.el b/coq/coq-abbrev.el
index e79f361f..31ee58d6 100644
--- a/coq/coq-abbrev.el
+++ b/coq/coq-abbrev.el
@@ -54,7 +54,7 @@
;;; The abbrev table built from keywords tables
;#s and @{..} are replaced by holes by holes-abbrev-complete
-(eval-when (load)
+(unless (noninteractive)
(if (and (boundp 'coq-mode-abbrev-table)
(not (equal coq-mode-abbrev-table (make-abbrev-table))))
(message "Coq abbrevs already exists, default not loaded")
diff --git a/coq/coq-autotest.el b/coq/coq-autotest.el
index 0e12d48c..160efdcb 100644
--- a/coq/coq-autotest.el
+++ b/coq/coq-autotest.el
@@ -8,7 +8,7 @@
(require 'pg-autotest)
;; The included test files
-(eval-when (load)
+(unless (noninteractive)
(pg-autotest message "Testing standard examples")
(pg-autotest script-wholefile "coq/example.v")
(pg-autotest script-wholefile "coq/example-x-symbol.v")