Lisp: Require SLIME just in time.

master
Pierre Neidhardt 2019-06-27 12:34:59 +02:00
parent a30d284343
commit 3a848a7bc1
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
;;; Common LISP.
(defun ambrevar/slime-switch-to-repl () ; TODO: Replace with `helm-defswitch'.
(interactive)
(require 'slime)
(pcase (length slime-net-processes)
(0 (slime))
(1 (if (and (eq (current-buffer) (slime-output-buffer))