branch: elpa/paredit
commit bf73ccf7f76e4262213f0c34b502276ab39d950f
Author: Taylor R Campbell <campb...@paredit.org>
Commit: Taylor R Campbell <campb...@paredit.org>

    NEWS: Note bug and workaround with interactive modes.
    
    Unfortunately there isn't obviously an easy way to address both
    Electric Indent Mode and interactive modes.  (Some interactive modes
    like the default *scratch* buffer also define C-j, which paredit
    always did override.)
---
 NEWS | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/NEWS b/NEWS
index a4ab2bcadf..a6bcfac125 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,17 @@ Current development version: 
https://paredit.org/paredit-beta.el
 *** Worked around brokenness induced by Electric Indent Mode.
 **** (Thanks to Sean Whitton for reporting the bug and discussing the fix.)
 
+NOTE: The Electric Indent Mode workaround turns out to break ielm and
+other interactive modes, because paredit now defines RET, overriding
+the binding in interactive modes that submits an input.
+
+Workaround to restore the old behaviour:
+
+  (define-key paredit-mode-map (kbd "RET") nil)
+  (define-key paredit-mode-map (kbd "C-j") 'paredit-newline)
+
+Recommended to disable Electric Indent Mode at the same time.
+
 ** Version 24 -- 2014-12-06
 
 *** Slurp/barf now support prefix arguments with the obvious semantics.

Reply via email to