Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
marvel
GitHub Repository: marvel/qnf
Path: blob/master/elisp/slime/start-swank.lisp
989 views
1
;;; This file is intended to be loaded by an implementation to
2
;;; get a running swank server
3
;;; e.g. sbcl --load start-swank.lisp
4
;;;
5
;;; Default port is 4005
6
;;; Default encoding is "iso-latin-1-unix"
7
;;; see Emacs variable `slime-net-valid-coding-systems' for possible values.
8
9
;;; For additional swank-side configurations see
10
;;; 6.2 section of the Slime user manual.
11
12
(load (merge-pathnames "swank-loader.lisp" *load-truename*))
13
14
(swank-loader:init
15
:delete nil ; delete any existing SWANK packages
16
:reload nil ; reload SWANK, even if the SWANK package already exists
17
:load-contribs nil) ; load all contribs
18
19
(swank:create-server :port 4005
20
:coding-system "iso-latin-1-unix"
21
22
;; if non-nil the connection won't be closed
23
;; after connecting
24
:dont-close nil)
25
26