1 ;;; .sbclrc --- sbcl init file -*- mode: common-lisp; -*- 3 ;;; If a fasl was stale, try to recompile and load (once). 4 (defmethod asdf:perform :around ((o asdf:load-op) 5 (c asdf:cl-source-file)) 6 (handler-case (call-next-method o c) 7 ;; If a fasl was stale, try to recompile and load (once). 8 (sb-ext:invalid-fasl () 9 (asdf:perform (make-instance 'asdf:compile-op) c) 12 (setq *debug-beginner-help-p* nil 13 ;; *print-case* :downcase 18 (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname)))) 19 (when (probe-file quicklisp-init) 20 (load quicklisp-init))) 21 ;; (ql:quickload :clouseau) 22 (defun include-projects-from (path) 23 "Add PATH to QL;*LOCAL-PROJECT-DIRECTORIES* and ASDF:*CENTRAL-REGISTRY*." 24 (pushnew path ql:*local-project-directories*) 25 (pushnew path asdf:*central-registry*)) 27 (mapc #'include-projects-from 28 (mapcar (lambda (x) (merge-pathnames x (user-homedir-pathname))) 29 (list "comp/core/lisp/" 33 ;; (require :sb-aclrepl)