diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-13 14:56:24 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-15 17:18:39 -0700 |
commit | c2c822f8fd46a84a03521c6a1a08893a939830ec (patch) | |
tree | 5e19169916594bb22098b081f64faa66f731ad33 /src/propspec.lisp | |
parent | db650186699ec82de2cfc9c2cbed1816b231cfec (diff) | |
download | consfigurator-c2c822f8fd46a84a03521c6a1a08893a939830ec.tar.gz |
rename *REMOTE-LISP* to *SUPPRESS-LOADING-SYSTEMS*
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/propspec.lisp')
-rw-r--r-- | src/propspec.lisp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/propspec.lisp b/src/propspec.lisp index bb5fa71..12a571e 100644 --- a/src/propspec.lisp +++ b/src/propspec.lisp @@ -146,12 +146,12 @@ systems." ,(slot-value first 'preprocessed-propspec) ,(slot-value second 'preprocessed-propspec)))) +(defvar *suppress-loading-systems* nil + "Bound by code which needs to prevent EVAL-PROPSPEC from attempting to load +the ASDF systems associated with the propspec to be evaluated.") + (defmethod eval-propspec ((propspec propspec)) - ;; Don't try to load systems if we are a remote Lisp, as we don't upload the - ;; .asd files, and we don't want to load out of /usr/share/common-lisp as we - ;; might get a different version of the library at worst, or a lot of - ;; warnings at best - (unless *remote-lisp* + (unless *suppress-loading-systems* (dolist (system (propspec-systems propspec)) (unless (asdf:component-loaded-p system) (asdf:load-system system)))) |