From ce1198f23d54c4f9c28e43b2866627f53c6f4ae8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 3 Oct 2018 01:25:50 -0400 Subject: [PATCH] lang/common-lisp: don't autopair '/` in sly-mrepl Credit goes to @mfiano for this --- modules/lang/common-lisp/config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/lang/common-lisp/config.el b/modules/lang/common-lisp/config.el index d0a7191f6..d32840f53 100644 --- a/modules/lang/common-lisp/config.el +++ b/modules/lang/common-lisp/config.el @@ -17,6 +17,12 @@ (add-hook 'lisp-mode-hook #'rainbow-delimiters-mode) + (after! smartparens + (sp-with-modes '(sly-mrepl-mode) + (sp-local-pair "'" "'" :actions nil) + (sp-local-pair "`" "`" :actions nil))) + + ;; (defun +common-lisp|cleanup-sly-maybe () "Kill processes and leftover buffers when killing the last sly buffer." (unless (cl-loop for buf in (delq (current-buffer) (buffer-list))