(defn inspect-in-emacs [what]
(letfn [(send-it []
(with-emacs-package
(reset-inspector)
(send-to-emacs `(:inspect ~(inspect-object what)))))]
(cond
*current-connection* (send-it)
(comment (first @*connections*))
;; TODO: take a second look at this, will probably need garbage collection on *connections*
(comment
(binding [*current-connection* (first @*connections*)]
(send-it))))))
Comments top
No comments for inspect-in-emacs. Log in to add a comment.