aboutsummaryrefslogtreecommitdiffstats
path: root/src/undo.c
diff options
context:
space:
mode:
authorJim Blandy1991-04-11 21:20:53 +0000
committerJim Blandy1991-04-11 21:20:53 +0000
commit181a18b1b52dc67e7367d422997a03494efeaa3e (patch)
tree38ba2a8fde55fd468758d3860d95f1a3e8c3eec0 /src/undo.c
parentc6d46f5f2eb7f142a9dd9284abbedae02776cfe4 (diff)
downloademacs-181a18b1b52dc67e7367d422997a03494efeaa3e.tar.gz
emacs-181a18b1b52dc67e7367d422997a03494efeaa3e.zip
*** empty log message ***
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index 02c89f3779d..2993dc77d5e 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -151,7 +151,10 @@ truncate_undo_list (list, minsize, maxsize)
151 last_boundary = Qnil; 151 last_boundary = Qnil;
152 152
153 /* Always preserve at least the most recent undo record. 153 /* Always preserve at least the most recent undo record.
154 If the first element is an undo boundary, skip past it. */ 154 If the first element is an undo boundary, skip past it.
155
156 Skip, skip, skip the undo, skip, skip, skip the undo,
157 Skip, skip, skip the undo, skip to the undo bound'ry. */
155 if (XTYPE (next) == Lisp_Cons 158 if (XTYPE (next) == Lisp_Cons
156 && XCONS (next)->car == Qnil) 159 && XCONS (next)->car == Qnil)
157 { 160 {