Created
April 19, 2013 20:50
-
-
Save catharinejm/5423139 to your computer and use it in GitHub Desktop.
Terrible hackery
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
(eval-after-load 'nrepl | |
'(progn | |
(add-hook 'nrepl-mode-hook (lambda () (paredit-mode +1))) | |
(define-key nrepl-mode-map (kbd "RET") (lambda () | |
(interactive) | |
(if (eobp) | |
(funcall 'nrepl-return) | |
(flet ((nrepl-input-complete-p (&rest args) nil)) | |
(funcall 'nrepl-return))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment