dot/lisp-init.lisp: Use `sb-ext:posix-getenv' instead of `sb-posix:getenv'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 16 Sep 2015 10:51:27 +0000 (11:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 16 Sep 2015 10:51:27 +0000 (11:51 +0100)
The former is built into the standard image, while the latter involves
loading a system at runtime which delays startup noticeably.

dot/lisp-init.lisp

index 9defa8c..ed6acd1 100644 (file)
            ("SYS:CONTRIB;**;*.*.*" ,(#2# "contrib/**/*.*"))))))
 
 ;; Tell some Lisps about my home directory.
-#+sbcl (require :sb-posix)
 #+cmu (ext:clear-search-list "HOME")
 #+(and unix (or sbcl clisp cmu))
-(let* ((#1=#:homestring (or #+sbcl (sb-posix:getenv "HOME")
+(let* ((#1=#:homestring (or #+sbcl (sb-ext:posix-getenv "HOME")
                            #+clisp (ext:getenv "HOME")
                            #+cmu (unix:unix-getenv "HOME")
                            "/home/mdw"))