[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14237: [PATCH] Fix syntax-propertize-multiline bug

From: Erik Charlebois
Subject: bug#14237: [PATCH] Fix syntax-propertize-multiline bug
Date: Sun, 21 Apr 2013 02:38:00 -0400


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.


2013-04-21  Erik Charlebois  <address@hidden>

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

Attachment: syntax-multiline.txt
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]