File tree 1 file changed +20
-14
lines changed
1 file changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -106,17 +106,23 @@ If you want to autoload the patch, do two things:
106
106
2 . Add this code to your ` ~/.sbclrc ` or ` ~/.roswell/init.lisp ` :
107
107
108
108
```
109
- (let ((fix-filename (make-pathname :directory '(:absolute :home ".quicklisp-client-fix")
110
- :name "quicklisp-fix"
111
- :type "lisp")))
112
- (let ((quicklisp-found #+quicklisp t
113
- #-quicklisp nil))
114
- (cond
115
- ((not quicklisp-found)
116
- (warn "Quicklisp is not available, skipping fix loading.~%"))
117
- ((probe-file fix-filename)
118
- (handler-bind ((warning #'muffle-warning))
119
- (load fix-filename)))
120
- (t
121
- (warn "Quicklisp fix was not found at ~S.~%" fix-filename)))))
122
- ```
109
+ (handler-bind ((serious-condition
110
+ (lambda (condition)
111
+ (uiop:print-condition-backtrace condition)
112
+ (uiop:quit 1))))
113
+ (let ((fix-filename (merge-pathnames
114
+ (make-pathname :directory '(:relative ".quicklisp-client-fix")
115
+ :name "quicklisp-fix"
116
+ :type "lisp")
117
+ (user-homedir-pathname))))
118
+ (let ((quicklisp-found #+quicklisp t
119
+ #-quicklisp nil))
120
+ (cond
121
+ ((not quicklisp-found)
122
+ (warn "Quicklisp is not available, skipping fix loading.~%"))
123
+ ((probe-file fix-filename)
124
+ (handler-bind ((warning #'muffle-warning))
125
+ (load fix-filename)))
126
+ (t
127
+ (warn "Quicklisp fix was not found at ~S.~%" fix-filename))))))
128
+ ```
You can’t perform that action at this time.
0 commit comments