chiark / gitweb /
dot/lisp-init.lisp: Add a missing stanza heading.
[profile] / dot / lisp-init.lisp
index 2c5aaa47c06a8101c78cff57cf5e224c08d7e2cd..24712fea4d26a49facf39e71461a8c95507a6329 100644 (file)
@@ -3,22 +3,15 @@ (cl:defpackage #:mdw-hacks
 (cl:defparameter mdw-hacks::*previous-package* cl:*package*)
 (cl:in-package #:mdw-hacks)
 
 (cl:defparameter mdw-hacks::*previous-package* cl:*package*)
 (cl:in-package #:mdw-hacks)
 
-;; Obtain ASDF from somewhere.
-#+sbcl (require :asdf)
-#+clisp (let ((*compile-verbose* nil)
-             (*load-verbose* nil))
-         (handler-bind ((warning (lambda (cond)
-                                   (declare (ignore cond))
-                                   (muffle-warning))))
-           (load "/usr/share/common-lisp/source/cl-asdf/asdf.lisp"
-                 :verbose nil)
-           (funcall (find-symbol "LOAD-SYSTEM" :asdf) :asdf
-                    :verbose nil)))
-
 ;; Shut up.
 (setf *load-verbose* nil)
 (setf *compile-verbose* nil)
 ;; Shut up.
 (setf *load-verbose* nil)
 (setf *compile-verbose* nil)
-#+cmu (setf *gc-verbose* nil)
+
+#+cmu
+(setf *gc-verbose* nil)
+
+;; Obtain ASDF from somewhere.
+(require "asdf")
 
 ;; Tell SBCL where to find its source source.
 #+sbcl
 
 ;; Tell SBCL where to find its source source.
 #+sbcl
@@ -38,7 +31,8 @@ (let* ((homestring (or #+sbcl (sb-ext:posix-getenv "HOME")
          ("CL:SYSTEMS;**;*.*.*" #p"/usr/share/common-lisp/systems/**/*.*"))))
 
 ;; Various fixings.
          ("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
 
 ;; Shebang.
 (set-dispatch-macro-character
@@ -58,7 +52,9 @@ (defun crank-swank (&rest args)
     (set (find-symbol "*GLOBAL-DEBUGGER*" swank) nil)
     (apply (find-symbol "CREATE-SERVER" swank) 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*)
 
 ;; Done.
 (pushnew :mdw *features*)