File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ use a prefix arg when invoking `inf-clojure` (`C-u M-x inf-clojure`).
176
176
### REPL Features
177
177
178
178
The supported REPL-features are in an alist called
179
- ` inc -clojure-repl-features` and it has the following shape:
179
+ ` inf -clojure-repl-features` and it has the following shape:
180
180
181
181
``` emacs-lisp
182
182
'((cljs . ((doc . "(cljs.repl/doc %s)")
@@ -189,10 +189,17 @@ The supported REPL-features are in an alist called
189
189
(macroexpand-1 . "(cljs.core/macroexpand-1 '%s)"))))
190
190
```
191
191
192
- If you want to add a new REPL type, just `(add-to-list
193
- 'inf-clojure-repl-features (cons new-repl-type '((doc
194
- . "(myrepl/doc-command %s") ...)))` since the data structure is just an
195
- alist of alists.
192
+ If you want to add a new REPL type, just do something like:
193
+
194
+ ``` emacs-lisp
195
+ (add-to-list 'inf-clojure-repl-features
196
+ (cons new-repl-type '((doc . "(myrepl/doc-command %s")
197
+ (source . "...")
198
+ ...)))
199
+ ```
200
+
201
+ The ` inf-clojure-repl-features ` data structure is just an
202
+ alist of alists, so you can manipulate it in numerous ways.
196
203
197
204
If you want to update a specific form there is a function
198
205
` inf-clojure-update-repl-feature ` which can be used like so:
You can’t perform that action at this time.
0 commit comments