[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors c9ea562bd5 3/5: Fix regression with deter
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors c9ea562bd5 3/5: Fix regression with determining the current sgml context |
Date: |
Fri, 23 Dec 2022 10:59:24 -0500 (EST) |
branch: elpa/multiple-cursors
commit c9ea562bd50a50bc600a1022276b8f91abb1465a
Author: Leo Gaskin <leo.gaskin@le0.gs>
Commit: Magnar Sveen <magnars@gmail.com>
Fix regression with determining the current sgml context
This problem seems to have been introduced in commit aae47ae by adding
"100" as an argument to "looking-back" instead of the correct "1".
---
mc-mark-more.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mc-mark-more.el b/mc-mark-more.el
index dc5b975606..e4a141e389 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -669,7 +669,7 @@ If the region is inactive or on a single line, it will
behave like
(last
(progn
(when (looking-at "<") (forward-char 1))
- (when (looking-back ">" 100) (forward-char -1))
+ (when (looking-back ">" 1) (forward-char -1))
(sgml-get-context)))))
(defun mc--on-tag-name-p ()