aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/xml.el
diff options
context:
space:
mode:
authorAlan Mackenzie2017-02-12 10:59:03 +0000
committerAlan Mackenzie2017-02-12 10:59:03 +0000
commitf4d5b687150810129b7a1d5b006e31ccf82b691b (patch)
tree4229b13800349032697daae3904dc3773e6b7a80 /lisp/xml.el
parentd5514332d4a6092673ce1f78fadcae0c57f7be64 (diff)
parent148100d98319499f0ac6f57b8be08cbd14884a5c (diff)
downloademacs-comment-cache.tar.gz
emacs-comment-cache.zip
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/xml.el')
-rw-r--r--lisp/xml.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/xml.el b/lisp/xml.el
index cd801be3083..be2ac96f264 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -646,8 +646,10 @@ surpassed `xml-entity-expansion-limit'"))))
646(defun xml-parse-attlist (&optional xml-ns) 646(defun xml-parse-attlist (&optional xml-ns)
647 "Return the attribute-list after point. 647 "Return the attribute-list after point.
648Leave point at the first non-blank character after the tag." 648Leave point at the first non-blank character after the tag."
649 (let ((attlist ()) 649 (let* ((attlist ())
650 end-pos name) 650 (symbol-qnames (eq (car-safe xml-ns) 'symbol-qnames))
651 (xml-ns (if symbol-qnames (cdr xml-ns) xml-ns))
652 end-pos name)
651 (skip-syntax-forward " ") 653 (skip-syntax-forward " ")
652 (while (looking-at (eval-when-compile 654 (while (looking-at (eval-when-compile
653 (concat "\\(" xml-name-re "\\)\\s-*=\\s-*"))) 655 (concat "\\(" xml-name-re "\\)\\s-*=\\s-*")))