Skip to content

Commit 593b65c

Browse files
committed
Explain inferior-lisp in the readme.
1 parent ed6f437 commit 593b65c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,21 @@ Use paredit as you normally would with any other mode; for instance:
4040
(defun turn-on-paredit () (paredit-mode 1))
4141
(add-hook 'clojure-mode-hook 'turn-on-paredit)
4242

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+
4353
## SLIME
4454

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:
4757

48-
$ wget https://github.com/technomancy/leiningen/raw/stable/bin/lein
49-
[place the "lein" script on your $PATH and make it executable]
5058
$ lein plugin install swank-clojure 1.3.3
5159

5260
M-x clojure-jack-in # from inside a project

0 commit comments

Comments
 (0)