dot/lisp-init.lisp: Really don't try to set `HOME:' on CMU CL.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 10 Jul 2020 19:25:49 +0000 (20:25 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 03:34:42 +0000 (04:34 +0100)
It's already excluded by the outer `#+...' guard, but there was a little
`#+cmu' dropping inside anyway.  Delete this, and extend the commentary
to explain why there's this lacuna.  (In more detail, CMU CL objects if
I try to establish a logical-pathname host when there's already a search
list with the same name.)

dot/lisp-init.lisp

index 8b0e3f9..373308a 100644 (file)
 #+sbcl
 (sb-ext:set-sbcl-source-location #p"/usr/share/sbcl-source/")
 
-;; Tell some Lisps about my home directory.
+;; Tell some Lisps about my home directory.  CMU CL already has a search list
+;; which does the same job.
 #+(and unix (or sbcl clisp))
 (let* ((homestring (or #+sbcl (sb-ext:posix-getenv "HOME")
                       #+clisp (ext:getenv "HOME")
-                      #+cmu (unix:unix-getenv "HOME")
                       "/home/mdw"))
        (home (pathname (concatenate 'string homestring "/"))))
   (setf (logical-pathname-translations "HOME")