]> code.delx.au - gnu-emacs/blobdiff - lisp/xml.el
Correct two search limits in c-before-change-check_<>-operators.
[gnu-emacs] / lisp / xml.el
index f7b54048d3adfb91d63f0470c884f9ef07c58cd7..39a8da0f337862b964b416996dd93d7a76a6657f 100644 (file)
@@ -421,7 +421,8 @@ Returns one of:
      ;;  skip comments
      ((looking-at "<!--")
       (search-forward "-->")
-      nil)
+      (skip-syntax-forward " ")
+      (xml-parse-tag parse-dtd xml-ns))
      ;;  end tag
      ((looking-at "</")
       '())