diff options
author | Taylor R Campbell <campbell@paredit.org> | 2022-11-26 20:51:49 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@paredit.org> | 2022-11-26 20:52:33 +0000 |
commit | bf73ccf7f76e4262213f0c34b502276ab39d950f (patch) | |
tree | 8d537fbce154384b757d8d7235397826fd5c44d1 /NEWS | |
parent | c26db503c2d92a248dfbb590cb9742c119aac810 (diff) |
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.)
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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. |