Skip to content

Commit 582601e

Browse files
arichiardibbatsov
authored andcommitted
Fix missing inf-clojure-set-ns-form-lumo
1 parent 887da91 commit 582601e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

inf-clojure.el

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,14 +759,20 @@ If you are using REPL types, it will pickup the most approapriate
759759
:type 'string
760760
:package-version '(inf-clojure . "2.0.0"))
761761

762+
(defcustom inf-clojure-set-ns-form-lumo
763+
"(in-ns '%s)"
764+
"Lumo form to set the namespace of the inferior Clojure process."
765+
:type 'string
766+
:package-version '(inf-clojure . "2.0.0"))
767+
762768
(defun inf-clojure-set-ns-form ()
763769
"Return the form to set the ns of the inferior Clojure process.
764770
If you are using REPL types, it will pickup the most approapriate
765771
`inf-clojure-set-ns-form` variant."
766-
(inf-clojure--sanitize-command
767-
(pcase (inf-clojure--set-repl-type (inf-clojure-proc))
768-
(`planck inf-clojure-set-ns-form-planck)
769-
(_ inf-clojure-set-ns-form))))
772+
(pcase (inf-clojure--set-repl-type (inf-clojure-proc))
773+
(`planck inf-clojure-set-ns-form-planck)
774+
(`lumo inf-clojure-set-ns-form-lumo)
775+
(_ inf-clojure-set-ns-form)))
770776

771777
(define-obsolete-variable-alias 'inf-clojure-set-ns-command 'inf-clojure-set-ns-form "2.0.0")
772778

0 commit comments

Comments
 (0)