Paredit-mode in the slime repl

Pascal Bourguignon pjb at informatimago.com
Sat Jul 28 01:10:23 UTC 2018



> On 28 Jul 2018, at 02:40, Alexandre Rademaker <arademaker at gmail.com> wrote:
> 
> 
> After the last Emacs upgrade to 26.1, the M-s key bind from paredit-mode is replaced by `Next element matching (regexp)` command in the slime repl buffer.  Sorry for the silly question, but how to get M-s mapped to paredit-splice-sexp again? In a lisp file buffer it is working as expected.



(push (lambda () (local-set-key (kbd “M-s”) ‘paredit-splice-sexp)) slime-repl-mode-hook)

or more emacsy:  (add-hook ‘slime-repl-mode-hook (lambda () (local-set-key (kbd “M-s”) ‘paredit-splice-sexp)))

Also to consider: there’s probably a keymap for the silme-repl-mode, you could modify it directly.


-- 
__Pascal J. Bourguignon__




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20180728/ffc57a74/attachment.html>


More information about the pro mailing list