From 593b65cb3f72ea2db96a08ce18ae10194af99115 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Mon, 17 Oct 2011 21:17:07 -0700 Subject: [PATCH] Explain inferior-lisp in the readme. --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 36ec6eeb..52ceb476 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,21 @@ Use paredit as you normally would with any other mode; for instance: (defun turn-on-paredit () (paredit-mode 1)) (add-hook 'clojure-mode-hook 'turn-on-paredit) +## Basic REPL + +Use M-x run-lisp to open a simple REPL subprocess using +[Leiningen](http://github.com/technomancy/leiningen). Once that has +opened, you can use C-c C-r to evaluate the region or +C-c C-l to load the whole file. + +If you don't use Leiningen, you can set `inferior-lisp-program` to +a different REPL command. + ## SLIME -You can use [Leiningen](http://github.com/technomancy/leiningen) for -better interaction with subprocesses via SLIME. +You can also use [Leiningen](http://github.com/technomancy/leiningen) +to start an enhanced REPL via SLIME: - $ wget https://github.com/technomancy/leiningen/raw/stable/bin/lein - [place the "lein" script on your $PATH and make it executable] $ lein plugin install swank-clojure 1.3.3 M-x clojure-jack-in # from inside a project