[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/alloc.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/alloc.c |
Date: |
Sun, 02 Jan 2005 18:05:13 -0500 |
Index: emacs/src/alloc.c
diff -c emacs/src/alloc.c:1.359 emacs/src/alloc.c:1.360
*** emacs/src/alloc.c:1.359 Sat Dec 25 10:31:36 2004
--- emacs/src/alloc.c Sun Jan 2 22:52:23 2005
***************
*** 4683,4689 ****
turned off in that buffer. Calling truncate_undo_list on
Qt tends to return NULL, which effectively turns undo back on.
So don't call truncate_undo_list if undo_list is Qt. */
! if (! EQ (nextb->undo_list, Qt))
truncate_undo_list (nextb);
/* Shrink buffer gaps, but skip indirect and dead buffers. */
--- 4683,4689 ----
turned off in that buffer. Calling truncate_undo_list on
Qt tends to return NULL, which effectively turns undo back on.
So don't call truncate_undo_list if undo_list is Qt. */
! if (! NILP (nextb->name) && ! EQ (nextb->undo_list, Qt))
truncate_undo_list (nextb);
/* Shrink buffer gaps, but skip indirect and dead buffers. */
- [Emacs-diffs] Changes to emacs/src/alloc.c,
Richard M . Stallman <=