Created
August 12, 2014 05:25
-
-
Save matthew-ball/29df1277a780f8949d70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; IMPORTANT: slime and swank | |
;; SOURCE: `https://github.com/slime/slime' | |
(load (format nil "~A/swank-loader.lisp" *user-slime-directory*)) | |
(swank-loader:init) | |
(defvar *swank-p* nil "Predicate representing whether or not a common lisp swank server is active.") | |
(defcommand run-swank () () | |
"Start a (persistent) swank server on port 4005." | |
(setf *top-level-error-action* :break) | |
(unless *swank-p* | |
(progn | |
(swank:create-server :port 4005 :style swank:*communication-style* :dont-close t) | |
(setf *swank-p* t)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment