From: Eshel Yaron Date: Fri, 28 Mar 2025 16:30:11 +0000 (+0100) Subject: ; Silence compilation warning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ca20b87091fe16134a3698261e8bbdd3b165fa3;p=emacs.git ; Silence compilation warning --- diff --git a/lisp/electric.el b/lisp/electric.el index e60ce1d042b..7aacb3af39f 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -332,7 +332,7 @@ This requotes when a quoting key is typed." (search-backward (string q< backtick) (- (point) 2) t)) (replace-match (string q<<)) - (when (and electric-pair-mode + (when (and (bound-and-true-p electric-pair-mode) (eq (cdr-safe (assq q< electric-pair-text-pairs)) (char-after)))