emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-clojure 2e1dd6c 108/313: Update the "Usage" section of


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure 2e1dd6c 108/313: Update the "Usage" section of the README
Date: Wed, 11 Aug 2021 09:59:56 -0400 (EDT)

branch: elpa/inf-clojure
commit 2e1dd6c1e1540223f8cc4e3493c1e555144d5431
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>

    Update the "Usage" section of the README
---
 README.md | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 1dd5756..781fd46 100644
--- a/README.md
+++ b/README.md
@@ -54,16 +54,22 @@ 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`.
+`inf-clojure` has several custom variables which control the command
+used to start a REPL for particular project type - `inf-clojure-lein-cmd`,
+`inf-clojure-boot-cmd` and `inf-clojure-generic-cmd`.
+
+By default all those variables are set to strings (e.g. `lein repl`).
+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 `inf-clojure-program`.
 
+You can set custom values to `inf-clojure` variables on a per-project basis 
using [directory
+variables](https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html).
+
 ## ElDoc
 
 `eldoc-mode` is supported in Clojure source buffers and `*inferior-clojure*`



reply via email to

[Prev in Thread] Current Thread [Next in Thread]