Skip to content

Commit cab944a

Browse files
committed
Disable pretty print when fetching lumo arglists
It hacks like a hack.
1 parent 74e8423 commit cab944a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inf-clojure.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,9 @@ If you are using REPL types, it will pickup the most approapriate
703703
(define-obsolete-variable-alias 'inf-clojure-arglist-command 'inf-clojure-arglists-form "2.0.0")
704704

705705
(defcustom inf-clojure-arglists-form-lumo
706-
"(pr-str (lumo.repl/get-arglists \"%s\"))"
706+
"(do (set! lumo.repl/*pprint-results* false)
707+
(js/setTimeout #(set! lumo.repl/*pprint-results* true) 0)
708+
(lumo.repl/get-arglists \"%s\"))"
707709
"Lumo form to query inferior Clojure for a function's arglists."
708710
:type 'string
709711
:package-version '(inf-clojure . "2.0.0"))

0 commit comments

Comments
 (0)