chiark / gitweb /
dot/lisp-init.lisp: Add the `HOME:' logical-pathname host on ECL.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 10 Jul 2020 19:37:10 +0000 (20:37 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 03:34:42 +0000 (04:34 +0100)
dot/lisp-init.lisp

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