aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2009-09-07 21:32:33 +0000
committerDavid Aspinall2009-09-07 21:32:33 +0000
commit30a16853c12c74f5acf4b9f93a6b4d11114b26ff (patch)
tree175d17806913d2b0fcda2cdbdf4f02b4f1896fda
parenta0fd804c3e0398b5b5c23303144c62491ac2bf17 (diff)
Nuke spurious warning
-rw-r--r--generic/proof-mmm.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/proof-mmm.el b/generic/proof-mmm.el
index f937975a..96ba5847 100644
--- a/generic/proof-mmm.el
+++ b/generic/proof-mmm.el
@@ -26,6 +26,7 @@
(require 'cl))
(eval-when (compile)
+ (require 'proof-auxmodes) ; it will have been loaded
(require 'mmm-auto)) ; it's loaded dynamically at runtime
(require 'proof-site)
@@ -63,10 +64,12 @@ in future if we have just activated it for this buffer."
(when (proof-mmm-support-available)
;; Make sure auto mode follows PG's global setting. (NB: might do
;; only if global state changes, but by now (proof-ass mmm-mode) set).
- (proof-mmm-set-global (not mmm-mode))
+ (with-no-warnings ; bytecomp gives spurious error
+ ; "proof-mmm-set-global might not be defined"
+ ; because the autoload overrides the definition above(!)
+ (proof-mmm-set-global (not mmm-mode)))
(mmm-mode)))
-
(provide 'proof-mmm)
;;; proof-mmm.el ends here