Mercurial > emacs
changeset 39798:d54a90934144
(Fprimitive_undo): Use XCAR/XCDR.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 12 Oct 2001 01:43:29 +0000 |
parents | 63b7f15de641 |
children | 99f30ac48ec0 |
files | src/undo.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/undo.c Fri Oct 12 01:38:00 2001 +0000 +++ b/src/undo.c Fri Oct 12 01:43:29 2001 +0000 @@ -422,10 +422,10 @@ while (arg > 0) { - while (1) + while (CONSP (list)) { - next = Fcar (list); - list = Fcdr (list); + next = XCAR (list); + list = XCDR (list); /* Exit inner loop at undo boundary. */ if (NILP (next)) break; @@ -436,8 +436,8 @@ { Lisp_Object car, cdr; - car = Fcar (next); - cdr = Fcdr (next); + car = XCAR (next); + cdr = XCDR (next); if (EQ (car, Qt)) { /* Element (t high . low) records previous modtime. */