Home / Emacs / Paredit / Contributions
WAIT [PATCH] paredit.el: Submit sexp on RET in eval-expression
A temporary re-definition:
(with-eval-after-load 'paredit
(defun paredit-RET ()
"Default key binding for RET in Paredit Mode.
Normally, inserts a newline, like traditional Emacs RET.
With Electric Indent Mode enabled, inserts a newline and indents
the new line, as well as any subexpressions of it on subsequent
lines; see `paredit-newline' for details and examples."
(interactive)
(cond
((minibufferp)
(funcall (lookup-key minibuffer-mode-map (kbd "RET"))))
((paredit-electric-indent-mode-p)
(let ((electric-indent-mode nil))
(paredit-newline)))
(t (newline)))))