eval-and-grab-output

swank.commands.basic

  • (eval-and-grab-output string)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/commands/basic.clj:78 top

(defslimefn eval-and-grab-output [string]
  (with-emacs-package
    (with-local-vars [retval nil]
      (list (with-out-str
              (var-set retval (pr-str (first (eval-region string)))))
            (var-get retval)))))
Vars in swank.commands.basic/eval-and-grab-output: first list pr-str var-get var-set with-local-vars with-out-str
Used in 0 other vars

Comments top

No comments for eval-and-grab-output. Log in to add a comment.