diff options
| author | Juanma Barranquero | 2013-08-12 17:11:35 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2013-08-12 17:11:35 +0200 |
| commit | 01f1a9ab4f3eedbbf99140195c2530b7c242de4f (patch) | |
| tree | 01255db441b8521dbae9aaad9e865f8488375959 | |
| parent | 8a44a184685092e2f39c9355467defde0b8b030c (diff) | |
| download | emacs-01f1a9ab4f3eedbbf99140195c2530b7c242de4f.tar.gz emacs-01f1a9ab4f3eedbbf99140195c2530b7c242de4f.zip | |
lisp/xml.el (xml-parse-tag-1): Use looking-at.
(This reverts change in 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/xml.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8d838622680..aa4d0289ee5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-08-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in | ||
| 4 | 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite). | ||
| 5 | https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html | ||
| 6 | |||
| 1 | 2013-08-12 Eli Zaretskii <eliz@gnu.org> | 7 | 2013-08-12 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib. | 9 | * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib. |
diff --git a/lisp/xml.el b/lisp/xml.el index e4d5f0b6b6d..b62065eb48f 100644 --- a/lisp/xml.el +++ b/lisp/xml.el | |||
| @@ -538,7 +538,7 @@ Return one of: | |||
| 538 | (forward-char 1) | 538 | (forward-char 1) |
| 539 | ;; Now check that we have the right end-tag. | 539 | ;; Now check that we have the right end-tag. |
| 540 | (let ((end (concat "</" node-name "\\s-*>"))) | 540 | (let ((end (concat "</" node-name "\\s-*>"))) |
| 541 | (while (not (looking-at-p end)) | 541 | (while (not (looking-at end)) |
| 542 | (cond | 542 | (cond |
| 543 | ((eobp) | 543 | ((eobp) |
| 544 | (error "XML: (Not Well-Formed) End of document while reading element `%s'" | 544 | (error "XML: (Not Well-Formed) End of document while reading element `%s'" |