branch: elpa/inf-clojure commit d9e44009ef4b2d65d5498818f6aeb22a24670152 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Tweak the README a bit --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5a44b86..4f57531 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,6 @@ Add the following to your Emacs config to enable (add-hook 'clojure-mode-hook #'inf-clojure-minor-mode) ``` -`inf-clojure-program` is a custom variable that defines a program to run -or the tcp socket to connect to when starting `inf-clojure`. By default -this var is set to `lein repl`, which will start a repl via leiningen. -However, it is possible to use a cons pair like `("localhost" . 5555)` to -connect to a socket repl like the one provided with [planck](http://planck-repl.org/), -which can be started from the command line with `planck -n 5555`. - **Don't enable `inf-clojure-minor-mode` and `cider-mode` at the same time. They have overlapping functionality and keybindings and the result will be nothing short of havoc.** @@ -61,6 +54,16 @@ result will be nothing short of havoc.** `M-x inf-clojure` or `C-c C-z` within a Clojure source file. +`inf-clojure-program` is a custom variable that defines a program to run +or the tcp socket to connect to when starting `inf-clojure`. By default +this variable is set to `lein repl`, which will start a REPL via Leiningen. +However, it is possible to use a cons pair like `("localhost" . 5555)` to +connect to a socket REPL like the one provided with [planck](http://planck-repl.org/), +which can be started from the command line with `planck -n 5555`. + +Use `C-u C-c C-z` to start a REPL with a different command/cons pair than +the default specified in `info-clojure-program`. + ## ElDoc `eldoc-mode` is supported in Clojure source buffers and `*inferior-clojure*`