branch: elpa/inf-clojure commit 582601e4a176da80e4719da182d4dadaca157f59 Author: Andrea Richiardi <a.richiardi.w...@gmail.com> Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Fix missing inf-clojure-set-ns-form-lumo --- inf-clojure.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/inf-clojure.el b/inf-clojure.el index fa793cb..b558620 100644 --- a/inf-clojure.el +++ b/inf-clojure.el @@ -759,14 +759,20 @@ If you are using REPL types, it will pickup the most approapriate :type 'string :package-version '(inf-clojure . "2.0.0")) +(defcustom inf-clojure-set-ns-form-lumo + "(in-ns '%s)" + "Lumo form to set the namespace of the inferior Clojure process." + :type 'string + :package-version '(inf-clojure . "2.0.0")) + (defun inf-clojure-set-ns-form () "Return the form to set the ns of the inferior Clojure process. If you are using REPL types, it will pickup the most approapriate `inf-clojure-set-ns-form` variant." - (inf-clojure--sanitize-command - (pcase (inf-clojure--set-repl-type (inf-clojure-proc)) - (`planck inf-clojure-set-ns-form-planck) - (_ inf-clojure-set-ns-form)))) + (pcase (inf-clojure--set-repl-type (inf-clojure-proc)) + (`planck inf-clojure-set-ns-form-planck) + (`lumo inf-clojure-set-ns-form-lumo) + (_ inf-clojure-set-ns-form))) (define-obsolete-variable-alias 'inf-clojure-set-ns-command 'inf-clojure-set-ns-form "2.0.0")