Skip to content

Instantly share code, notes, and snippets.

@catharinejm
Created April 19, 2013 20:50
Show Gist options
  • Save catharinejm/5423139 to your computer and use it in GitHub Desktop.
Save catharinejm/5423139 to your computer and use it in GitHub Desktop.
Terrible hackery
(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