[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 7b4a9b4611: Fixup evil-select-paren for multichars de
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 7b4a9b4611: Fixup evil-select-paren for multichars delimiters |
Date: |
Wed, 5 Oct 2022 14:58:25 -0400 (EDT) |
branch: elpa/evil
commit 7b4a9b4611dc7f9ad28e403b21c62120892adbfa
Author: marcolgl <marco-9-6-96@hotmail.it>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Fixup evil-select-paren for multichars delimiters
Solve a bug that caused evil-select-paren to loop indefinitely when running
the
function with an open delimiter composed of more than one character and the
following open delimiter isn't closed.
---
evil-common.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/evil-common.el b/evil-common.el
index e8dd705684..cb5e23a292 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -3457,7 +3457,7 @@ is ignored."
(goto-char (or (if (and count (> 0 count)) end beg)
(point)))
(let ((re (if (characterp open) (string open) open)))
- (if (and (not (string= (string (char-after)) re))
+ (if (and (not (looking-at-p re))
(re-search-forward re nil t count))
(progn
(goto-char (match-beginning 0))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/evil 7b4a9b4611: Fixup evil-select-paren for multichars delimiters,
ELPA Syncer <=