diff options
| author | Alex Harsanyi | 2012-01-27 16:46:10 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-27 16:46:10 +0800 |
| commit | a268160b063e99a515fb4356ffd2db1c73ada2b6 (patch) | |
| tree | 2665f319fcba412b280787be32b99aa84691d359 | |
| parent | 9f40220d8e86c83567e168b93242f0a28c2675e5 (diff) | |
| download | emacs-a268160b063e99a515fb4356ffd2db1c73ada2b6.tar.gz emacs-a268160b063e99a515fb4356ffd2db1c73ada2b6.zip | |
* xml.el (xml-parse-tag): Fix parsing of comments.
Fixes: debbugs:10405
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/xml.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 02884f7774f..571a5e284a2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-01-27 Alex Harsanyi <harsanyi@mac.com> | ||
| 2 | |||
| 3 | * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405). | ||
| 4 | |||
| 1 | 2012-01-26 Glenn Morris <rgm@gnu.org> | 5 | 2012-01-26 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map. | 7 | * 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: | |||
| 421 | ;; skip comments | 421 | ;; skip comments |
| 422 | ((looking-at "<!--") | 422 | ((looking-at "<!--") |
| 423 | (search-forward "-->") | 423 | (search-forward "-->") |
| 424 | nil) | 424 | (skip-syntax-forward " ") |
| 425 | (xml-parse-tag parse-dtd xml-ns)) | ||
| 425 | ;; end tag | 426 | ;; end tag |
| 426 | ((looking-at "</") | 427 | ((looking-at "</") |
| 427 | '()) | 428 | '()) |