X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/31c6e9703308b8155cd298b12d638ef8be388fd2..3ec148f042c6624f1c85b476696fd0aa03d393a3:/dot/lisp-init.lisp diff --git a/dot/lisp-init.lisp b/dot/lisp-init.lisp index 1a22d19..ba26d22 100644 --- a/dot/lisp-init.lisp +++ b/dot/lisp-init.lisp @@ -1,16 +1,21 @@ +;;; -*-lisp-*- + (cl:defpackage #:mdw-hacks (:use #:cl)) (cl:defparameter mdw-hacks::*previous-package* cl:*package*) (cl:in-package #:mdw-hacks) +;; Shut up. +(setf *load-verbose* nil + *compile-verbose* nil) + +#+cmu +(setf ext:*gc-verbose* nil + ext:*require-verbose* nil) + ;; Obtain ASDF from somewhere. (require "asdf") -;; Shut up. -(setf *load-verbose* nil) -(setf *compile-verbose* nil) -#+cmu (setf *gc-verbose* nil) - ;; Tell SBCL where to find its source source. #+sbcl (sb-ext:set-sbcl-source-location #p"/usr/share/sbcl-source/") @@ -29,7 +34,8 @@ (let* ((homestring (or #+sbcl (sb-ext:posix-getenv "HOME") ("CL:SYSTEMS;**;*.*.*" #p"/usr/share/common-lisp/systems/**/*.*")))) ;; Various fixings. -#+clisp (setf custom:*parse-namestring-ansi* t) +#+clisp +(setf custom:*parse-namestring-ansi* t) ;; Shebang. (set-dispatch-macro-character @@ -49,7 +55,9 @@ (defun crank-swank (&rest args) (set (find-symbol "*GLOBAL-DEBUGGER*" swank) nil) (apply (find-symbol "CREATE-SERVER" swank) args))) -#+asdf (setf asdf:*compile-file-failure-behaviour* :warn) +;; Treat warnings as, err, warnings. +#+asdf +(setf asdf:*compile-file-failure-behaviour* :warn) ;; Done. (pushnew :mdw *features*)