From b8a51b3c7ce6864d224ca4034527dfd82774b130 Mon Sep 17 00:00:00 2001 From: rush Date: Thu, 9 Jul 2026 10:50:31 -0400 Subject: [PATCH] Cleanup electric pairs --- init.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index d17f594..3fec5b3 100644 --- a/init.el +++ b/init.el @@ -922,15 +922,13 @@ If in org-mode, call `org-end-of-line' first." (global-prettify-symbols-mode t) ;;; Parens -(setq electric-pair-pairs '((?\" . ?\") - (?\‘ . ?\’) - (?\“ . ?\”) - (?\{ . ?\}) - (?\< . ?\>))) + (customize-set-variable 'show-paren-delay 0) ; Has to be set with customize, or the mode has to be toggled (setq show-paren-style 'expression) +(with-eval-after-load electric-pair-mode + (add-to-list 'electric-pair-pairs '(?\{ . ?\}) t)) ; Usually don't want the mode, but want curlies when I do ;;; Help -- 2.39.5