dot/lisp-init.lisp: Tell SBCL where it can find its sources.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 12 Sep 2015 17:16:58 +0000 (18:16 +0100)
The Debian build has bogus translations, so fix them.

dot/lisp-init.lisp

index 7b8949e..de02915 100644 (file)
 (setf *compile-verbose* nil)
 #+cmu (setf *gc-verbose* nil)
 
+;; Tell SBCL where to find its source source.
+#+sbcl
+(let ((#1=#:sbcl-src #p"/usr/share/sbcl-source/"))
+  (flet ((#2=#:sbcl-dir (#3=#:p)
+          (merge-pathnames #3# #1#)))
+    (setf (logical-pathname-translations "SYS")
+         `(("SYS:SRC;**;*.*.*" ,(#2# "src/**/*.*"))
+           ("SYS:CONTRIB;**;*.*.*" ,(#2# "contrib/**/*.*"))))))
+
 ;; Various fixings.
 #+clisp (setf custom:*parse-namestring-ansi* t)