diff options
| author | Alan Mackenzie | 2015-04-21 14:02:10 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2015-04-21 14:02:10 +0000 |
| commit | 79fa7d7b75fa71d4332675ca28608b484731e09a (patch) | |
| tree | 042e8af5aee9e270d7faa7bc6b850b0f5fc86c04 /src | |
| parent | b01cf822c5ac044bb550231c811a062d3a8cbeec (diff) | |
| download | emacs-79fa7d7b75fa71d4332675ca28608b484731e09a.tar.gz emacs-79fa7d7b75fa71d4332675ca28608b484731e09a.zip | |
CC Mode: Do nothing in before/after-change-functions for text property changes
Fixes bug#20266.
lisp/progmodes/cc-mode.el (c-basic-common-init): Make
yank-handled-properties buffer local, and remove 'category from it.
(c-called-from-text-property-change-p): New function.
(c-before-change): Don't do anything if a call of the new function
returns non-nil.
(c-after-change): Don't do much if a call of the new function returns
non-nil.
(c-extend-after-change-region): Put changes to text property 'fontified
inside c-save-buffer-state.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions