From: Mark Wooding Date: Fri, 10 Jul 2020 19:25:49 +0000 (+0100) Subject: dot/lisp-init.lisp: Really don't try to set `HOME:' on CMU CL. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/0ad8413164c4120344d168433ebd40413f9c5156 dot/lisp-init.lisp: Really don't try to set `HOME:' on CMU CL. 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.) --- diff --git a/dot/lisp-init.lisp b/dot/lisp-init.lisp index 8b0e3f9..373308a 100644 --- a/dot/lisp-init.lisp +++ b/dot/lisp-init.lisp @@ -42,11 +42,11 @@ #+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")