diff options
author | Alan Mackenzie <acm@muc.de> | 2020-02-23 19:43:56 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2020-02-23 19:43:56 +0000 |
commit | 3bce7ec3826003fda1971224a20d7fe2cba8bf65 (patch) | |
tree | 21660c0f1d3db4f98ec9208bff691a09429f87a8 /modules/modhelp.py | |
parent | ba7004b2a74c69450114c12ef4521768fc165e8e (diff) | |
download | emacs-3bce7ec3826003fda1971224a20d7fe2cba8bf65.tar.gz emacs-3bce7ec3826003fda1971224a20d7fe2cba8bf65.tar.bz2 emacs-3bce7ec3826003fda1971224a20d7fe2cba8bf65.zip |
CC Mode: Protect against consecutive calls to before-change-functions ...
without an intervening call to after-change-functions. This would have been a
workaround to bug #38691 had the causes of that bug not been removed.
* lisp/progmodes/cc-mode.el (c-just-done-before-change): Add an extra value to
this variable, 'whole-buffer, this being set by c-before-change as a signal to
c-after-change that although c-before-change has run, it has assumed the
entire buffer as the change region.
(c-before-change, c-after-change): Adapt to the new meaning of the above.
Diffstat (limited to 'modules/modhelp.py')
0 files changed, 0 insertions, 0 deletions