Skip to content

Commit ebd1494

Browse files
arichiardibbatsov
authored andcommitted
Support lumo's apropos
1 parent 582601e commit ebd1494

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

inf-clojure.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,12 @@ If you are using REPL types, it will pickup the most approapriate
783783
:type 'string
784784
:package-version '(inf-clojure . "2.0.0"))
785785

786+
(defcustom inf-clojure-apropos-form-lumo
787+
"(lumo.repl/apropos \"%s\")"
788+
"Planck form to invoke apropos."
789+
:type 'string
790+
:package-version '(inf-clojure . "2.0.0"))
791+
786792
(defcustom inf-clojure-apropos-form-planck
787793
"(doseq [var (sort (planck.repl/apropos \"%s\"))]
788794
(println (str var)))"
@@ -796,6 +802,7 @@ If you are using REPL types, it will pickup the most approapriate
796802
`inf-clojure-ns-vars-form` variant."
797803
(inf-clojure--sanitize-command
798804
(pcase (inf-clojure--set-repl-type (inf-clojure-proc))
805+
(`lumo inf-clojure-apropos-form-lumo)
799806
(`planck inf-clojure-apropos-form-planck)
800807
(_ inf-clojure-apropos-form))))
801808

0 commit comments

Comments
 (0)