Created
February 26, 2011 09:41
-
-
Save condotti/845081 to your computer and use it in GitHub Desktop.
An advice for paredit in lisp-interaction-mode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defadvice paredit-newline (around eval-print-last-sexp activate) | |
(if (eq major-mode 'lisp-interaction-mode) | |
(eval-print-last-sexp) | |
(paredit-newline))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment