diff options
author | Alan Mackenzie <acm@muc.de> | 2021-08-20 21:12:37 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2021-08-20 21:12:37 +0000 |
commit | 13824c44d28427931a7e3284adec9a3a38cd2323 (patch) | |
tree | 01ac8626d8f2f4cbd8c4f11d0cf9f8dbbbf39549 /lisp/bindings.el | |
parent | 681faf9f0bc41972932b72ef34c026419b6eb54d (diff) | |
download | emacs-13824c44d28427931a7e3284adec9a3a38cd2323.tar.gz |
Fix c-tentative-buffer-changes to be nestable in c-save-buffer-state
* lisp/progmodes/cc-defs.el (c-tentative-buffer-changes)
(c-tnt-chng-record-state, c-tnt-chng-cleanup): Enhance such that a
buffer-undo-list of t is handled specially, so that a nil isn't consed onto
it. Thus garbage collection can't later remove the (nil . t) from the end of
the buffer-undo-list, causing an infinite loop.
Diffstat (limited to 'lisp/bindings.el')
0 files changed, 0 insertions, 0 deletions