dot/lisp-init.lisp: Partially mitigate CMU CL's daft EOF behaviour.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Jul 2020 18:37:24 +0000 (19:37 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 03:34:42 +0000 (04:34 +0100)
One still needs two `^D's before it quits, but that's much better than
20.

dot/lisp-init.lisp

index ba26d22..3cdcd5e 100644 (file)
 ;; Obtain ASDF from somewhere.
 (require "asdf")
 
+;; Get CMU CL to quit on EOF.
+#+cmu
+(setf ext:*batch-mode* t)
+
 ;; Tell SBCL where to find its source source.
 #+sbcl
 (sb-ext:set-sbcl-source-location #p"/usr/share/sbcl-source/")