From: Stefan Monnier Date: Wed, 16 Apr 2014 15:28:26 +0000 (-0400) Subject: * lisp/nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization X-Git-Tag: emacs-24.3.91~135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b262bde327db2cd9b2f01f2d3ed946d0b188cb9d;p=emacs.git * 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 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 38f71bdd78d..e974b30700b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,10 @@ 2014-04-16 Stefan Monnier + * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization + was done (bug#17264). + * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed + comment to EOB. + * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in here-documents (bug#17262). diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 0daf62d804f..cd50bce2152 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el @@ -872,7 +872,7 @@ Called with `font-lock-beg' and `font-lock-end' dynamically bound." (defun nxml-fontify-matcher (bound) "Called as font-lock keyword matcher." - + (syntax-propertize bound) (unless nxml-degraded (nxml-debug-change "nxml-fontify-matcher" (point) bound) 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 +