summaryrefslogtreecommitdiff
path: root/lisp/nxml/xmltok.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-04-16 11:28:26 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-04-16 11:28:26 -0400
commitb262bde327db2cd9b2f01f2d3ed946d0b188cb9d (patch)
tree4af1a9d00a5e77bbdd9b0d7f4e90651a7eae258f /lisp/nxml/xmltok.el
parentc76a7a5cd27eb2359f383d481005bf12010f368e (diff)
downloademacs-b262bde327db2cd9b2f01f2d3ed946d0b188cb9d.tar.gz
* lisp/nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
was done. * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed comment to EOB. Fixes: debbugs:17264
Diffstat (limited to 'lisp/nxml/xmltok.el')
-rw-r--r--lisp/nxml/xmltok.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/nxml/xmltok.el b/lisp/nxml/xmltok.el
index 58a2f16d586..f80a5fd2fa1 100644
--- a/lisp/nxml/xmltok.el
+++ b/lisp/nxml/xmltok.el
@@ -750,7 +750,8 @@ Return the type of the token."
;; Need do this after the goto-char because
;; marked error should just apply to <!--
(xmltok-add-error "First following `--' not followed by `>'")
- 'not-well-formed)))))
+ (goto-char (point-max))
+ 'comment)))))
(defun xmltok-scan-attributes ()
(let ((recovering nil)