From c9ea562bd50a50bc600a1022276b8f91abb1465a Mon Sep 17 00:00:00 2001 From: Leo Gaskin Date: Fri, 23 Dec 2022 14:51:14 +0100 Subject: [PATCH] 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 dc5b975..e4a141e 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 ()