From d502b5bcdc165a7164ba4cff90f982a08e173b2c Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Thu, 17 Jan 2008 13:03:56 +0000 Subject: Revert to more reliable true eval-when (compile) --- generic/proof-maths-menu.el | 7 ++++--- generic/proof-mmm.el | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/generic/proof-maths-menu.el b/generic/proof-maths-menu.el index c6a59454..aa6e7d40 100644 --- a/generic/proof-maths-menu.el +++ b/generic/proof-maths-menu.el @@ -20,9 +20,10 @@ (eval-when-compile (require 'proof-utils) ; for proof-ass, proof-eval-when-ready-for-assistant - (if noninteractive ; batch byte compilation - (unless (featurep 'xemacs) - (require 'maths-menu)))) ; it's loaded dynamically at runtime + (require 'cl)) + +(eval-when (compile) + (require 'maths-menu)) ; it's loaded dynamically at runtime ;;;###autoload diff --git a/generic/proof-mmm.el b/generic/proof-mmm.el index d82d55d5..d726b731 100644 --- a/generic/proof-mmm.el +++ b/generic/proof-mmm.el @@ -23,8 +23,10 @@ (eval-when-compile (require 'proof-utils) ; for proof-ass, proof-eval-when-ready-for-assistant - (if noninteractive ; batch byte compilation - (require 'mmm-auto))) ; it's loaded dynamically at runtime + (require 'cl)) + +(eval-when (compile) + (require 'mmm-auto)) ; it's loaded dynamically at runtime (require 'proof-site) -- cgit v1.2.3