From 646905c50529cef3c1cb38fdf0ad4fc778365a3d Mon Sep 17 00:00:00 2001 From: Rowan Thorpe Date: Sat, 7 Jun 2014 23:47:09 +0300 Subject: [PATCH] Avoid compile warning in test for slime --- modules/prelude-common-lisp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prelude-common-lisp.el b/modules/prelude-common-lisp.el index 1fd25e8..cd145ed 100644 --- a/modules/prelude-common-lisp.el +++ b/modules/prelude-common-lisp.el @@ -68,7 +68,7 @@ (defun prelude-start-slime () "Start SLIME unless it's already running." - (unless (slime-connected-p) + (unless (and (fboundp 'slime-connected-p) (slime-connected-p)) (save-excursion (slime)))) ;; start slime automatically when we open a lisp file