diff options
| author | Eli Zaretskii | 2023-03-18 17:14:44 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-03-18 17:14:44 +0200 |
| commit | ea0949853f8bdbe3292cbfd9c6c16a073e979e3e (patch) | |
| tree | 1873d1365040cb776e5b5fb013293a09199f7505 | |
| parent | e388a77cf0b1ccae51c27303d2ab640cbc552015 (diff) | |
| parent | 11592bcfda6cf85d797d333072453c98994790e1 (diff) | |
| download | emacs-ea0949853f8bdbe3292cbfd9c6c16a073e979e3e.tar.gz emacs-ea0949853f8bdbe3292cbfd9c6c16a073e979e3e.zip | |
Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29
| -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." | |||
| 738 | ;; avoid slowdowns due to the quadratic | 738 | ;; avoid slowdowns due to the quadratic |
| 739 | ;; complexity of the regexp. See bug#61514. | 739 | ;; complexity of the regexp. See bug#61514. |
| 740 | (when (with-restriction | 740 | (when (with-restriction |
| 741 | (point) (+ (point) 10000) | 741 | (point) (min (+ (point) 10000) (point-max)) |
| 742 | (looking-at (concat "[^<>\n]+?" | 742 | (looking-at (concat "[^<>\n]+?" |
| 743 | (xmltok-attribute regexp)))) | 743 | (xmltok-attribute regexp)))) |
| 744 | (unless recovering | 744 | (unless recovering |