if (EQ (current_buffer->undo_list, Qt))
return Qnil;
tem = Fcar (current_buffer->undo_list);
- if (!NULL (tem))
+ if (!NILP (tem))
current_buffer->undo_list = Fcons (Qnil, current_buffer->undo_list);
return Qnil;
}
either before or after it. The lower threshold, MINSIZE,
tells us to truncate after it. If its size pushes past
the higher threshold MAXSIZE as well, we truncate before it. */
- if (NULL (elt))
+ if (NILP (elt))
{
if (size_so_far > maxsize)
break;
}
/* If we scanned the whole list, it is short enough; don't change it. */
- if (NULL (next))
+ if (NILP (next))
return list;
/* Truncate at the boundary where we decided to truncate. */
- if (!NULL (last_boundary))
+ if (!NILP (last_boundary))
{
XCONS (last_boundary)->cdr = Qnil;
return list;
/* If the head of the list is a boundary, it is the boundary
preceding this command. Get rid of it and don't count it. */
tem = Fcar (list);
- if (NULL (tem))
+ if (NILP (tem))
list = Fcdr (list);
#endif
Lisp_Object next, car, cdr;
next = Fcar (list);
list = Fcdr (list);
- if (NULL (next))
+ if (NILP (next))
break;
car = Fcar (next);
cdr = Fcdr (next);