Avoid compile warning in test for slime

This commit is contained in:
Rowan Thorpe 2014-06-07 23:47:09 +03:00
parent fcc82c75ff
commit 646905c505

View file

@ -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