mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Call the set_buffer_overlays_ setters
* src/buffer.c (Fkill_buffer): Call set_buffer_overlays_before and set_buffer_overlays_after instead of setting the fields directly (bug#46914).
This commit is contained in:
parent
9e94509267
commit
6ff90ef0bb
1 changed files with 2 additions and 2 deletions
|
|
@ -1942,8 +1942,8 @@ cleaning up all windows currently displaying the buffer to be killed. */)
|
|||
}
|
||||
/* Since we've unlinked the markers, the overlays can't be here any more
|
||||
either. */
|
||||
b->overlays_before = NULL;
|
||||
b->overlays_after = NULL;
|
||||
set_buffer_overlays_before (b, NULL);
|
||||
set_buffer_overlays_after (b, NULL);
|
||||
|
||||
/* Reset the local variables, so that this buffer's local values
|
||||
won't be protected from GC. They would be protected
|
||||
|
|
|
|||
Loading…
Reference in a new issue