[slime-devel] *sysdep-files* as var

Terje Norderhaug terje at in-progress.com
Tue Nov 3 19:24:37 UTC 2009


I propose *sysdep-files* is changed from a parameter to a var, so it  
can be bound before loading swank-loader.lisp. I need this for an  
enhanced swank loader that supports a lisp implementation not covered  
by the current *sysdep-files* options, but I believe it could be  
generally useful for those tinkering with swank.


diff -u slime-2009-11-03/swank-loader.lisp slime-2009-11-03/swank- 
loader-patched.lisp
--- slime-2009-11-03/swank-loader.lisp  2009-11-01 01:15:02.000000000  
-0700
+++ slime-2009-11-03/swank-loader-patched.lisp  2009-11-03  
11:12:21.000000000 -0800
@@ -32,7 +32,7 @@
                   :defaults (or *load-pathname* *default-pathname- 
defaults*))
    "The directory where to look for the source.")

-(defparameter *sysdep-files*
+(defvar *sysdep-files*
    #+cmu '(swank-source-path-parser swank-source-file-cache swank- 
cmucl)
    #+scl '(swank-source-path-parser swank-source-file-cache swank-scl)
    #+sbcl '(swank-source-path-parser swank-source-file-cache


-- Terje Norderhaug





More information about the slime-devel mailing list