diff options
| author | Alan Mackenzie | 2016-06-30 12:58:30 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-06-30 12:58:30 +0000 |
| commit | 455700d69a1a6861dc8c9b2ba19733429727d3c3 (patch) | |
| tree | 4b074842bf243e656adccd6e7e0320ccd7d29a19 /src/bytecode.c | |
| parent | fd6a133fdcd6bcdc240c05cfe645cd9064f9e744 (diff) | |
| download | emacs-455700d69a1a6861dc8c9b2ba19733429727d3c3.tar.gz emacs-455700d69a1a6861dc8c9b2ba19733429727d3c3.zip | |
CC Mode: truncate the semi-nonlit cache when applying syntax-table to a quote
This applies to applying or removing syntax-table text properties in raw
strings which affect the stringiness of a piece of text. This fixes the
bug
reported in
http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00695.html.
* lisp/progmodes/cc-engine.el (c-truncate-semi-nonlit-pos-cache): new
defsubst.
(c-invalidate-state-cache-1): Call new function in place of inline
manipulation.
(c-depropertize-raw-string, c-propertize-raw-string-opener): truncate the
semi-nonlit cache when pertinent syntax-table text properties get applied to
the text.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions