From dbfe0df1d094efb8596833d3420c83e381c7cbf7 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Sun, 5 Apr 2015 21:06:47 +0300 Subject: [PATCH] Use sbcl in the absence of ccl on OS X --- modules/prelude-common-lisp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/prelude-common-lisp.el b/modules/prelude-common-lisp.el index 718a9e5..9b982e6 100644 --- a/modules/prelude-common-lisp.el +++ b/modules/prelude-common-lisp.el @@ -54,7 +54,8 @@ (sbcl ("sbcl" "--noinform") :coding-system utf-8-unix))) ;; select the default value from slime-lisp-implementations -(if (eq system-type 'darwin) +(if (and (eq system-type 'darwin) + (executable-find "ccl")) ;; default to Clozure CL on OS X (setq slime-default-lisp 'ccl) ;; default to SBCL on Linux and Windows