From 0ad8413164c4120344d168433ebd40413f9c5156 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 10 Jul 2020 20:25:49 +0100 Subject: [PATCH] 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.) --- dot/lisp-init.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.11.0