dot/lisp-init.lisp: Place toplevel read-time conditionals on their own lines.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Jul 2020 18:33:06 +0000 (19:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 03:34:42 +0000 (04:34 +0100)
I've found that this looks better.  Also, it makes it possible to run
them easily from Emacs independently of the conditional using `slime-
eval-defun' or `slime-compile-defun'.

dot/lisp-init.lisp

index d36ae5f..0a8cb7e 100644 (file)
@@ -6,7 +6,9 @@
 ;; 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")
@@ -29,7 +31,8 @@
          ("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 +52,8 @@
     (set (find-symbol "*GLOBAL-DEBUGGER*" swank) nil)
     (apply (find-symbol "CREATE-SERVER" swank) args)))
 
-#+asdf (setf asdf:*compile-file-failure-behaviour* :warn)
+#+asdf
+(setf asdf:*compile-file-failure-behaviour* :warn)
 
 ;; Done.
 (pushnew :mdw *features*)