diff options
| author | Matt Armstrong | 2022-10-19 13:42:35 -0700 |
|---|---|---|
| committer | Stefan Monnier | 2022-10-19 21:35:09 -0400 |
| commit | 06252617b2c4cc9bcdd9407f1e709a7e0908cf27 (patch) | |
| tree | 494a0f21b5f87949886c57bfba87bd4ab013f49b /src/buffer.c | |
| parent | 8159d8b1a71dd59e31060f00b2abe20ad9d1f924 (diff) | |
| download | emacs-06252617b2c4cc9bcdd9407f1e709a7e0908cf27.tar.gz emacs-06252617b2c4cc9bcdd9407f1e709a7e0908cf27.zip | |
Revert "mark_overlays: Use the normal ITREE_FOREACH"
This reverts commit b8fbd42f0a7caa4cd9e2d50dd4e4b2101ac78acd,
with edits.
* src/alloc.c (mark_overlays): restore function.
(mark_buffer): Call it, not ITREE_FOREACH.
(garbage_collect): eassert (!itree_busy_p ()).
* src/itree.h: Comment tweak: explain why GC is considered risky. It
isn't that GC itself is risky, it is that GC can call ELisp by way of
a hook, and running ELisp during iteration is risks nested iteration.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions