From 5dd42c108b49097624c1637a562e83953752b0cf Mon Sep 17 00:00:00 2001 From: Allen Li Date: Sun, 26 Jun 2022 01:47:19 -0700 Subject: [PATCH] Fix regression --- lisp/elec-pair.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 964d21f11c..b94eab066f 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -246,8 +246,7 @@ electric-pair--with-uncached-syntax cache is flushed from position START, defaulting to point." (declare (debug ((form &optional form) body)) (indent 1)) (let ((start-var (make-symbol "start"))) - `(let ((syntax-propertize-function #'ignore) - (,start-var ,(or start '(point)))) + `(let ((,start-var ,(or start '(point)))) (unwind-protect (with-syntax-table ,table ,@body) -- 2.36.1