]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/xml.el (xml-parse-tag-1): Use looking-at.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 12 Aug 2013 15:11:35 +0000 (17:11 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 12 Aug 2013 15:11:35 +0000 (17:11 +0200)
(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

lisp/ChangeLog
lisp/xml.el

index 8d83862268032e170aaf26289641553af63a1b22..aa4d0289ee5c77969be077f23182a1b61b53e65d 100644 (file)
@@ -1,3 +1,9 @@
+2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
+
+       * 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
+
 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
 
        * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
index e4d5f0b6b6d635d7cd8d6566a7cf23e99a416d5a..b62065eb48fa7a2674bf0b3ca5848b2459c11f79 100644 (file)
@@ -538,7 +538,7 @@ Return one of:
          (forward-char 1)
          ;; Now check that we have the right end-tag.
          (let ((end (concat "</" node-name "\\s-*>")))
-           (while (not (looking-at-p end))
+           (while (not (looking-at end))
              (cond
               ((eobp)
                (error "XML: (Not Well-Formed) End of document while reading element `%s'"