File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,21 @@ Use paredit as you normally would with any other mode; for instance:
40
40
(defun turn-on-paredit () (paredit-mode 1))
41
41
(add-hook 'clojure-mode-hook 'turn-on-paredit)
42
42
43
+ ## Basic REPL
44
+
45
+ Use <kbd >M-x run-lisp</kbd > to open a simple REPL subprocess using
46
+ [ Leiningen] ( http://github.com/technomancy/leiningen ) . Once that has
47
+ opened, you can use <kbd >C-c C-r</kbd > to evaluate the region or
48
+ <kbd >C-c C-l</kbd > to load the whole file.
49
+
50
+ If you don't use Leiningen, you can set ` inferior-lisp-program ` to
51
+ a different REPL command.
52
+
43
53
## SLIME
44
54
45
- You can use [ Leiningen] ( http://github.com/technomancy/leiningen ) for
46
- better interaction with subprocesses via SLIME.
55
+ You can also use [ Leiningen] ( http://github.com/technomancy/leiningen )
56
+ to start an enhanced REPL via SLIME:
47
57
48
- $ wget https://github.com/technomancy/leiningen/raw/stable/bin/lein
49
- [place the "lein" script on your $PATH and make it executable]
50
58
$ lein plugin install swank-clojure 1.3.3
51
59
52
60
M-x clojure-jack-in # from inside a project
You can’t perform that action at this time.
0 commit comments