diff options
author | Gregory Heytings <gregory@heytings.org> | 2023-03-18 15:04:26 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2023-03-18 16:05:31 +0100 |
commit | 11592bcfda6cf85d797d333072453c98994790e1 (patch) | |
tree | 60ae7b8df6f701214228fdeed828597141665864 /lisp/nxml | |
parent | 33a26703689298819528bae689cd9a031c90b253 (diff) | |
download | emacs-11592bcfda6cf85d797d333072453c98994790e1.tar.gz emacs-11592bcfda6cf85d797d333072453c98994790e1.tar.bz2 emacs-11592bcfda6cf85d797d333072453c98994790e1.zip |
; * lisp/nxml/xmltok.el (xmltok-scan-attributes): Fix last change
Diffstat (limited to 'lisp/nxml')
-rw-r--r-- | lisp/nxml/xmltok.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/xmltok.el b/lisp/nxml/xmltok.el index fb852e5ea5e..6f9df554da0 100644 --- a/lisp/nxml/xmltok.el +++ b/lisp/nxml/xmltok.el @@ -738,7 +738,7 @@ and VALUE-END, otherwise a STRING giving the value." ;; avoid slowdowns due to the quadratic ;; complexity of the regexp. See bug#61514. (when (with-restriction - (point) (+ (point) 10000) + (point) (min (+ (point) 10000) (point-max)) (looking-at (concat "[^<>\n]+?" (xmltok-attribute regexp)))) (unless recovering |