Skip to content

Instantly share code, notes, and snippets.

@tomjack

tomjack/init.el Secret

Created July 22, 2010 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomjack/013b2bd0c2b80c7c3836 to your computer and use it in GitHub Desktop.
Save tomjack/013b2bd0c2b80c7c3836 to your computer and use it in GitHub Desktop.
(defun eval-print-repl ()
(interactive)
(let ((expr (slime-last-expression))
(buffer (current-buffer)))
(slime-switch-to-output-buffer)
(insert expr)
(slime-repl-return)
(switch-to-buffer-other-window buffer)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment