From 3c00ddcebdc277f5212d69da0c54751571542a83 Mon Sep 17 00:00:00 2001 From: Jan Felix Langenbach Date: Wed, 28 Apr 2021 21:50:19 +0200 Subject: [PATCH] Fix smartparens pairing ' and ` in the minibuffer --- core/core-editor.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-editor.el b/core/core-editor.el index 7928deaef..9599ebcba 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -550,8 +550,8 @@ on." ;; You're likely writing lisp in the minibuffer, therefore, disable these ;; quote pairs, which lisps doesn't use for strings: - (sp-local-pair 'minibuffer-inactive-mode "'" nil :actions nil) - (sp-local-pair 'minibuffer-inactive-mode "`" nil :actions nil) + (sp-local-pair '(minibuffer-mode minibuffer-inactive-mode) "'" nil :actions nil) + (sp-local-pair '(minibuffer-mode minibuffer-inactive-mode) "`" nil :actions nil) ;; Smartparens breaks evil-mode's replace state (defvar doom-buffer-smartparens-mode nil)