branch: elpa/inf-clojure commit 2341aa28a6c7c6f0031d2f50b6ec1ca896662d48 Author: Andrea Richiardi <a.richiardi.w...@gmail.com> Commit: Bozhidar Batsov <bozhidar.bat...@gmail.com>
Support lumo's source --- inf-clojure.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inf-clojure.el b/inf-clojure.el index ee5dd9e..e9f2734 100644 --- a/inf-clojure.el +++ b/inf-clojure.el @@ -648,12 +648,19 @@ If you are using REPL types, it will pickup the most approapriate :type 'string :package-version '(inf-clojure . "2.0.0")) +(defcustom inf-clojure-var-source-form-lumo + "(lumo.repl/source %s)" + "Lumo form to query inferior Clojure for a var's source." + :type 'string + :package-version '(inf-clojure . "2.0.0")) + (defun inf-clojure-var-source-form () "Return the form to query inferior Clojure for a var's source. If you are using REPL types, it will pickup the most approapriate `inf-clojure-var-source-form` variant." (inf-clojure--sanitize-command (pcase (inf-clojure--set-repl-type (inf-clojure-proc)) + (`lumo inf-clojure-var-source-form-lumo) (`planck inf-clojure-var-source-form-planck) (_ inf-clojure-var-source-form))))