inf-clojure

apt 2022-06-25T14:21:31.027709Z

Hi folks. How do I get the return value of an evaluation in elisp? For example, say I eval (inf-clojure-eval-string "42"). I’d like to get 42 for dealing with that in emacs lisp

apt 2022-06-25T14:23:16.937249Z

Oh, I found the answer in discord:

(inf-clojure--process-response "(+ 1 1)" (inf-clojure-proc 'no-error))