-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlispworks.lisp
49 lines (37 loc) · 1.11 KB
/
lispworks.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(in-package :common-lisp-user)
;;; Only use standard nicknames for the COMMON-LISP and
;;; COMMON-LISP-USER packages
(rename-package "COMMON-LISP-USER" "COMMON-LISP-USER" '("CL-USER"))
(rename-package "COMMON-LISP" "COMMON-LISP" '("CL"))
;;; LispWorks personal customizations
(defvar *lw-custom-directory*
(merge-pathnames
(make-pathname
:directory '(:relative "common-lisp" "LispWorks"))
(user-homedir-pathname))
"Location of personal customizations to LispWorks.")
;;; Editor customizations
(load (merge-pathnames "editor" *lw-custom-directory*))
;;; TMH-USER
(load
(merge-pathnames
(make-pathname
:directory '(:relative "common-lisp" "tmh-user")
:name "tmh-user")
(user-homedir-pathname)))
;;; Quicklisp
#-quicklisp
(let ((quicklisp-init
(merge-pathnames
(make-pathname
:directory '(:relative "quicklisp")
:name "setup"
:type "lisp")
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
;;; Commonly used libraries
#+quicklisp
(progn
(quicklisp:quickload "meta-sexp")
(quicklisp:quickload "lisp-unit"))