Skip to content

Commit

Permalink
Disable electric-pair-local-mode not electric-pair-mode; fixes #680
Browse files Browse the repository at this point in the history
  • Loading branch information
greghendershott committed Nov 29, 2023
1 parent fc3f83c commit 3f11c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions racket-hash-lang.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3f11c6c

Please sign in to comment.