chiark / gitweb /
el/dot-emacs.el: Apply `extend' setting to all(?) the applicable fonts.
[profile] / dot / lisp-init.lisp
index 845aa5e85f5c7b16773131dce0234200fca6cf27..91971ca619c21baf9964650807f81c2448057781 100644 (file)
@@ -48,7 +48,9 @@ (setf ccl:*quit-on-eof* t)
 
 ;; Tell SBCL where to find its source source.
 #+sbcl
-(sb-ext:set-sbcl-source-location #p"/usr/share/sbcl-source/")
+(let ((srcdir #p"/usr/share/sbcl-source/"))
+  (when (probe-file srcdir)
+    (sb-ext:set-sbcl-source-location srcdir)))
 
 ;; Get SBCL to shut up about package variance.  This is a standard result of
 ;; my approach to symbol exports, and I don't care.
@@ -126,7 +128,10 @@ (set-dispatch-macro-character
    (declare (ignore char arg))
    (values (read-line stream))))
 
-;; Start up swank.
+;; Use double-precision by default.
+(setf *read-default-float-format* 'double-float)
+
+;; Start up Swank.
 (export 'crank-swank)
 (defun crank-swank (&rest args)
   (let ((swank (find-package "SWANK")))