aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 2570364e6c1..bb57d46ee03 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5384,7 +5384,8 @@ See Info node `(elisp)Garbage Collection'. */)
5384 turned off in that buffer. Calling truncate_undo_list on 5384 turned off in that buffer. Calling truncate_undo_list on
5385 Qt tends to return NULL, which effectively turns undo back on. 5385 Qt tends to return NULL, which effectively turns undo back on.
5386 So don't call truncate_undo_list if undo_list is Qt. */ 5386 So don't call truncate_undo_list if undo_list is Qt. */
5387 if (! NILP (nextb->BUFFER_INTERNAL_FIELD (name)) && ! EQ (nextb->BUFFER_INTERNAL_FIELD (undo_list), Qt)) 5387 if (! NILP (nextb->BUFFER_INTERNAL_FIELD (name))
5388 && ! EQ (nextb->BUFFER_INTERNAL_FIELD (undo_list), Qt))
5388 truncate_undo_list (nextb); 5389 truncate_undo_list (nextb);
5389 5390
5390 /* Shrink buffer gaps, but skip indirect and dead buffers. */ 5391 /* Shrink buffer gaps, but skip indirect and dead buffers. */