Emacs major and minor modes for Racket: edit, REPL, check-syntax, debug, profile, packages, and more.
GNU General Public License v3.0
682
stars
93
forks
source link
`args-out-of-range` error with `electric-pair-delete-pair` at end of buffer #674
Closed
greghendershott closed 1 year ago
racket-hash-lang-mode
, with e.g.#lang rhombus
.electric-pair-local-mode
.(
. Result:()
, with point between the parens.M-x electric-pair-delete-pair
to delete both parens.Result:
Due to
put-text-property
being called with an end position greater thanpoint-max
.Note: A similar recipe does not cause a problem with
paredit-mode
instead ofelectric-pair-local-mode
.