summaryrefslogtreecommitdiff
path: root/devel/swank-clojure/pkg-descr
blob: 0318eb6e38d0ef9d2a19ce687e33dc778f23b853 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Swank Clojure is a server that allows SLIME (the Superior Lisp
Interaction Mode for Emacs) to connect to Clojure projects.

To use it you must launch a swank server, then connect to it from
within Emacs using M-x slime-connect.

For example:

  (ns user (:use [swank.swank :as swank]))

  (clojure.main/with-bindings
    (swank/ignore-protocol-version "2010-06-04")
    (swank/start-server "/dev/null" :port 4005))

Just replace "user" with your preferred namespace.

WWW: https://github.com/technomancy/swank-clojure