@@ -970,12 +970,20 @@ If you are using REPL types, it will pickup the most approapriate
970
970
:safe #'stringp
971
971
:package-version '(inf-clojure . " 2.0.0" ))
972
972
973
+ (defcustom inf-clojure-macroexpand-form-lumo
974
+ " (macroexpand '%s)"
975
+ " Lumo form to invoke macroexpand."
976
+ :type 'string
977
+ :safe #'stringp
978
+ :package-version '(inf-clojure . " 2.2.0" ))
979
+
973
980
(defun inf-clojure-macroexpand-form (proc )
974
981
" Return the form for macroexpansion in the Inf-Clojure PROC.
975
982
If you are using REPL types, it will pickup the most approapriate
976
983
`inf-clojure-macroexpand-form` variant."
977
984
(inf-clojure--sanitize-command
978
985
(pcase (inf-clojure--set-repl-type proc)
986
+ (`lumo inf-clojure-macroexpand-form-lumo)
979
987
(`planck inf-clojure-macroexpand-form-planck)
980
988
(_ inf-clojure-macroexpand-form))))
981
989
@@ -995,12 +1003,20 @@ If you are using REPL types, it will pickup the most approapriate
995
1003
:safe #'stringp
996
1004
:package-version '(inf-clojure . " 2.0.0" ))
997
1005
1006
+ (defcustom inf-clojure-macroexpand-1-form-lumo
1007
+ " (macroexpand-1 '%s)"
1008
+ " Lumo form to invoke macroexpand-1."
1009
+ :type 'string
1010
+ :safe #'stringp
1011
+ :package-version '(inf-clojure . " 2.2.0" ))
1012
+
998
1013
(defun inf-clojure-macroexpand-1-form (proc )
999
1014
" Return the form for macroexpand-1 in the Inf-Clojure PROC.
1000
1015
If you are using REPL types, it will pickup the most approapriate
1001
1016
`inf-clojure-macroexpand-1-form` variant."
1002
1017
(inf-clojure--sanitize-command
1003
1018
(pcase (inf-clojure--set-repl-type proc)
1019
+ (`lumo inf-clojure-macroexpand-1-form-lumo)
1004
1020
(`planck inf-clojure-macroexpand-1-form-planck)
1005
1021
(_ inf-clojure-macroexpand-1-form))))
1006
1022
0 commit comments