diff options
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | generic/proof-site.el | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -153,5 +153,8 @@ Internal changes for developers to note To help with this there is a new configuration variable proof-shell-eager-annotation-start-length. +* proof-site now does nothing if it has already been loaded. + Previously it would load again, possibly altering settings. + * Many code cleanups and improvements. diff --git a/generic/proof-site.el b/generic/proof-site.el index 24ed03e6..7612191d 100644 --- a/generic/proof-site.el +++ b/generic/proof-site.el @@ -10,6 +10,8 @@ ;; NB: Normally you will not need to edit this file. ;; +(unless (featurep 'proof-site) ; don't load twice + (if (or (not (boundp 'emacs-major-version)) (< emacs-major-version 20)) (error "Proof General is not compatible with Emacs %s" emacs-version)) @@ -267,6 +269,7 @@ Note: to change proof assistant, you must start a new Emacs session.") "Version string identifying Proof General release.") (provide 'proof-site) +) ; end unless |
