diff options
| author | Alan Mackenzie | 2019-08-02 11:24:38 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2019-08-02 11:24:38 +0000 |
| commit | 2ca12bb3de7f76446c102bb1e133f6ac03f7d8be (patch) | |
| tree | 62f814ed7147a8f3276e521751724835f022707c /src/bytecode.c | |
| parent | ccc52f1d97ad71f2af3f237168018180fa4f873f (diff) | |
| download | emacs-2ca12bb3de7f76446c102bb1e133f6ac03f7d8be.tar.gz emacs-2ca12bb3de7f76446c102bb1e133f6ac03f7d8be.zip | |
CC Mode: Fix the timing of application and removal of string fence properties
This fixes bug #36897.
* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Check
string fence text properties are actually present on string delimiters before
trying to remove them.
(c-before-change): Amend the nesting of unwind-protect, widen,
c-restore-string-fences, and c-clear-string-fences. Move
invalidate-state-cache to outside of the widening.
(c-after-change): Amend the nesting of unwind-protect, widen,
c-restore-string-fences, and c-clear-string-fences.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions