quicklisp/quicklisp-projects — Issue #226: ql:add-to-init-file problem with CLISP and Win 7
Author: avodonosov
Created: 2011-10-30 11:22:05+00:00
State: open

Quickisp was installed with a CL other than CLISP (sbcl or ccl).

The directory is C:\Users\anton\quicklisp\.

Then I want qucklisp to be available for CLISP too.ql:add-to-init-file add the following code to the .clisprc:.lisp:

;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp\\setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))

This code is executed during CLISP start, but quicklisp is not available for me because quicklisp-init is
#P"C:\\Users\\anton\\AppData\\Roaming\\quicklisp\\setup.lisp".

So, the difference in user-homedir-pathname implementation between CLISP and SBCL requires either having different quicklisp installations for them, or changing .clisprc.lisp