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

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

[nongnu] elpa/inf-clojure b601d48 266/313: Tweak the README a bit


From: ELPA Syncer
Subject: [nongnu] elpa/inf-clojure b601d48 266/313: Tweak the README a bit
Date: Wed, 11 Aug 2021 10:00:30 -0400 (EDT)

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

    Tweak the README a bit
---
 README.md | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index a4d34c5..73dac8b 100644
--- a/README.md
+++ b/README.md
@@ -176,7 +176,7 @@ use a prefix arg when invoking `inf-clojure` (`C-u M-x 
inf-clojure`).
 ### REPL Features
 
 The supported REPL-features are in an alist called
-`inc-clojure-repl-features` and it has the following shape:
+`inf-clojure-repl-features` and it has the following shape:
 
 ```emacs-lisp
 '((cljs . ((doc . "(cljs.repl/doc %s)")
@@ -189,10 +189,17 @@ The supported REPL-features are in an alist called
            (macroexpand-1 . "(cljs.core/macroexpand-1 '%s)"))))
 ```
 
-If you want to add a new REPL type, just `(add-to-list
-'inf-clojure-repl-features (cons new-repl-type '((doc
-. "(myrepl/doc-command %s") ...)))` since the data structure is just an
-alist of alists.
+If you want to add a new REPL type, just do something like:
+
+``` emacs-lisp
+(add-to-list 'inf-clojure-repl-features
+             (cons new-repl-type '((doc . "(myrepl/doc-command %s")
+                                   (source . "...")
+                                   ...)))
+```
+
+The `inf-clojure-repl-features` data structure is just an
+alist of alists, so you can manipulate it in numerous ways.
 
 If you want to update a specific form there is a function
 `inf-clojure-update-repl-feature` which can be used like so:



reply via email to

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