From 6de30e0cdc97475b3aac2a35bec1fcf1ac0af84f Mon Sep 17 00:00:00 2001 From: Dario Gjorgjevski Date: Fri, 22 Nov 2019 13:19:39 +0100 Subject: [PATCH] Leave syntax-propertize-function unchanged * lisp/elec-pair.el (electric-pair--with-uncached-syntax): Do not let-bind syntax-propertize-function. --- 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 f3cbee7048..6e528b2dfd 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.17.1