aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-maths-menu.el
diff options
context:
space:
mode:
Diffstat (limited to 'generic/proof-maths-menu.el')
-rw-r--r--generic/proof-maths-menu.el7
1 files changed, 4 insertions, 3 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