projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a2670
)
; * lisp/nxml/xmltok.el (xmltok-scan-attributes): Fix last change
author
Gregory Heytings
<gregory@heytings.org>
Sat, 18 Mar 2023 15:04:26 +0000
(15:04 +0000)
committer
Gregory Heytings
<gregory@heytings.org>
Sat, 18 Mar 2023 15:05:31 +0000
(16:05 +0100)
lisp/nxml/xmltok.el
patch
|
blob
|
history
diff --git
a/lisp/nxml/xmltok.el
b/lisp/nxml/xmltok.el
index fb852e5ea5e4ca31fcbb5400124a80fc3495c183..6f9df554da0da940b9877af25a0dfdea49d91cfe 100644
(file)
--- 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