From da8bce53bc8fee20cb4cecb28c3b5527b3182a0f Mon Sep 17 00:00:00 2001 From: How Si Wei Date: Fri, 3 Jan 2020 00:21:01 +0800 Subject: [PATCH] Enable smartparens-mode during pp-eval-expression --- core/core-editor.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-editor.el b/core/core-editor.el index fd67394c1..5f0caf319 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -454,9 +454,9 @@ files, so we replace calls to `pp' with the much faster `prin1'." (add-hook! 'minibuffer-setup-hook (defun doom-init-smartparens-in-minibuffer-maybe-h () - "Enable `smartparens-mode' in the minibuffer, during `eval-expression' or -`evil-ex'." - (when (memq this-command '(eval-expression evil-ex)) + "Enable `smartparens-mode' in the minibuffer, during `eval-expression', +`pp-eval-expression' or `evil-ex'." + (when (memq this-command '(eval-expression pp-eval-expression evil-ex)) (smartparens-mode)))) ;; You're likely writing lisp in the minibuffer, therefore, disable these