@@ -54,16 +54,22 @@ result will be nothing short of havoc.**
54
54
55
55
` M-x inf-clojure ` or ` C-c C-z ` within a Clojure source file.
56
56
57
- ` inf-clojure-program ` is a custom variable that defines a program to run
58
- or the tcp socket to connect to when starting ` inf-clojure ` . By default
59
- this variable is set to ` lein repl ` , which will start a REPL via Leiningen.
60
- However, it is possible to use a cons pair like ` ("localhost" . 5555) ` to
61
- connect to a socket REPL like the one provided with [ planck] ( http://planck-repl.org/ ) ,
62
- which can be started from the command line with ` planck -n 5555 ` .
57
+ ` inf-clojure ` has several custom variables which control the command
58
+ used to start a REPL for particular project type - ` inf-clojure-lein-cmd ` ,
59
+ ` inf-clojure-boot-cmd ` and ` inf-clojure-generic-cmd ` .
60
+
61
+ By default all those variables are set to strings (e.g. ` lein repl ` ).
62
+ However, it is possible to use a cons pair like ` ("localhost" . 5555) `
63
+ to connect to a socket REPL like the one provided
64
+ with [ planck] ( http://planck-repl.org/ ) , which can be started from the
65
+ command line with ` planck -n 5555 ` .
63
66
64
67
Use ` C-u C-c C-z ` to start a REPL with a different command/cons pair than
65
68
the default specified in ` inf-clojure-program ` .
66
69
70
+ You can set custom values to ` inf-clojure ` variables on a per-project basis using [ directory
71
+ variables] ( https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html ) .
72
+
67
73
## ElDoc
68
74
69
75
` eldoc-mode ` is supported in Clojure source buffers and ` *inferior-clojure* `
0 commit comments