From a268160b063e99a515fb4356ffd2db1c73ada2b6 Mon Sep 17 00:00:00 2001 From: Alex Harsanyi Date: Fri, 27 Jan 2012 16:46:10 +0800 Subject: [PATCH] * xml.el (xml-parse-tag): Fix parsing of comments. Fixes: debbugs:10405 --- lisp/ChangeLog | 4 ++++ lisp/xml.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 02884f7774f..571a5e284a2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-01-27 Alex Harsanyi + + * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405). + 2012-01-26 Glenn Morris * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map. diff --git a/lisp/xml.el b/lisp/xml.el index f7b54048d3a..39a8da0f337 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -421,7 +421,8 @@ Returns one of: ;; skip comments ((looking-at "") - nil) + (skip-syntax-forward " ") + (xml-parse-tag parse-dtd xml-ns)) ;; end tag ((looking-at "