Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 11 lines (8 sloc) 0.451 kb
1 2 3 4 5 6 7 8 9 10
(in-package :academy)

;; For EVAL-IN-EMACS to work you need to enable in emacs, generally in the ~/.emacs file:
;; (setq slime-enable-evaluate-in-emacs t)

(defun eval-in-emacs (form)
  "Evalute FORM in the slime connected emacs and return its value. Note that many types
returned by emacs functions (such as buffers) are not serializable over the slime
connection and will result in an error."
  (funcall (find-symbol "EVAL-IN-EMACS" :swank) form))
Something went wrong with that request. Please try again.