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".
This commit is contained in:
Leo Gaskin 2022-12-23 14:51:14 +01:00 committed by Magnar Sveen
parent 72de6a4ec4
commit c9ea562bd5

View File

@ -669,7 +669,7 @@ If the region is inactive or on a single line, it will behave like
(last (last
(progn (progn
(when (looking-at "<") (forward-char 1)) (when (looking-at "<") (forward-char 1))
(when (looking-back ">" 100) (forward-char -1)) (when (looking-back ">" 1) (forward-char -1))
(sgml-get-context))))) (sgml-get-context)))))
(defun mc--on-tag-name-p () (defun mc--on-tag-name-p ()