From 3f11c6c7644e518e3185da2577012e2a7c95c565 Mon Sep 17 00:00:00 2001 From: Greg Hendershott Date: Wed, 29 Nov 2023 08:07:40 -0500 Subject: [PATCH] Disable electric-pair-local-mode not electric-pair-mode; fixes #680 --- racket-hash-lang.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/racket-hash-lang.el b/racket-hash-lang.el index 7d3f8b40..620399cb 100644 --- a/racket-hash-lang.el +++ b/racket-hash-lang.el @@ -249,7 +249,7 @@ can contribute more colors; see the customization variable (append (list (cons 'racket-token t)) text-property-default-nonsticky)) (add-hook 'post-self-insert-hook #'racket-hash-lang-post-self-insert nil t) - (electric-pair-mode -1) + (electric-pair-local-mode -1) (electric-indent-local-mode -1) (setq-local electric-indent-inhibit t) (setq-local blink-paren-function nil) @@ -567,7 +567,7 @@ that need be set." ;;; Pairs -;; Because I can't see how to make electric-pairs-mode work +;; Because I can't see how to make electric-pair-mode work ;; consistently -- including having it _not_ pair things like ' inside ;; comments, strings, and especially our unique "text" token spans -- ;; I resorted to making a very simple alternative. It's not electric,