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 8d83862..aa4d028 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 e4d5f0b..b62065e 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'"