Description

At least, I think it's a bug. I ran into this while adding support for C++11 raw strings to cc-mode.

syntax-propertize-multiline seeks backward for the first position without a 'syntax-multiline text property, but searches forward for 'font-lock-multiline. For a span of text marked 'syntax-multiline, the new end returned from syntax-propertize-multiline will not be the end of the multiline text.


Changelog

2013-04-21  Erik Charlebois  <erikcharlebois@gmail.com>

* emacs-lisp/syntax.el (syntax-propertize-multiline):
Use 'syntax-multiline text property instead of 'font-lock-multiline.