[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-matchit ce93c5bcdb 2/4: donot use emacs27+ only synta
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-matchit ce93c5bcdb 2/4: donot use emacs27+ only syntax |
Date: |
Sun, 29 May 2022 22:58:16 -0400 (EDT) |
branch: elpa/evil-matchit
commit ce93c5bcdbb049506c199dfc4324bf60f6fb4f2d
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
donot use emacs27+ only syntax
---
evil-matchit-sdk.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/evil-matchit-sdk.el b/evil-matchit-sdk.el
index 51ceaf9f98..b3e778262e 100644
--- a/evil-matchit-sdk.el
+++ b/evil-matchit-sdk.el
@@ -76,7 +76,8 @@ Return t if jump forward."
(len (length str)))
;; count quote character
(while (< i len)
- (when (eq ch (seq-elt str i))
+ ;; `seq-elt' is from emacs27+
+ (when (eq ch (aref str i))
(setq cnt (1+ cnt)))
(setq i (1+ i)))
(eq (% cnt 2) 0)))))