]> git.eshelyaron.com Git - emacs.git/commitdiff
; Silence compilation warning
authorEshel Yaron <me@eshelyaron.com>
Fri, 28 Mar 2025 16:30:11 +0000 (17:30 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 28 Mar 2025 16:30:11 +0000 (17:30 +0100)
lisp/electric.el

index e60ce1d042be6c41193532b771ec5c644a358011..7aacb3af39f514f97d6d52d23b0d91caa55ffacc 100644 (file)
@@ -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)))