@@ -166,34 +166,35 @@ Quicklisp-provided systems first, and catching ASDF missing
166
166
dependencies too if possible."
167
167
(setf name (string-downcase name))
168
168
(with-simple-restart (abort " Give up on ~S " name)
169
- (let ((strategy (compute-load-strategy name))
170
- (tried-so-far (make-hash-table :test ' equalp)))
171
- (show-load-strategy strategy)
172
- (when (or (not prompt)
173
- (press-enter-to-continue))
174
- (tagbody
175
- retry
176
- (handler-case (apply-load-strategy strategy)
177
- (asdf :missing-dependency-of-version (c)
178
- ; ; Nothing Quicklisp can do to recover from this, so just
179
- ; ; resignal
180
- (error c))
181
- (asdf :missing-dependency (c)
182
- (let ((parent (asdf ::missing-required-by c))
183
- (missing (asdf ::missing-requires c)))
184
- (typecase parent
185
- (asdf :system
186
- (if (gethash missing tried-so-far)
187
- (error " Dependency looping -- already tried to load ~
188
- ~A " missing)
189
- (setf (gethash missing tried-so-far) missing))
190
- (autoload-system-and-dependencies missing
191
- :prompt prompt)
192
- (go retry))
193
- (t
194
- ; ; Error isn't from a system dependency, so there's
195
- ; ; nothing to autoload
196
- (error c)))))))))
169
+ (let ((tried-so-far (make-hash-table :test ' equalp)))
170
+ (tagbody
171
+ retry
172
+ (handler-case
173
+ (let ((strategy (compute-load-strategy name)))
174
+ (show-load-strategy strategy)
175
+ (when (or (not prompt)
176
+ (press-enter-to-continue))
177
+ (apply-load-strategy strategy)))
178
+ (asdf :missing-dependency-of-version (c)
179
+ ; ; Nothing Quicklisp can do to recover from this, so just
180
+ ; ; resignal
181
+ (error c))
182
+ (asdf :missing-dependency (c)
183
+ (let ((parent (asdf ::missing-required-by c))
184
+ (missing (asdf ::missing-requires c)))
185
+ (typecase parent
186
+ (asdf :system
187
+ (if (gethash missing tried-so-far)
188
+ (error " Dependency looping -- already tried to load ~
189
+ ~A " missing)
190
+ (setf (gethash missing tried-so-far) missing))
191
+ (autoload-system-and-dependencies missing
192
+ :prompt prompt)
193
+ (go retry))
194
+ (t
195
+ ; ; Error isn't from a system dependency, so there's
196
+ ; ; nothing to autoload
197
+ (error c))))))))
197
198
name))
198
199
199
200
(defvar *initial-dist-url*
0 commit comments