if (EQ (current_buffer->undo_list, Qt))
return;
- if (PT == beg + XSTRING (string)->size)
+ if (PT == beg + SCHARS (string))
{
XSETINT (sbeg, -beg);
record_point (PT);
size_so_far += sizeof (struct Lisp_Cons);
if (STRINGP (XCAR (elt)))
size_so_far += (sizeof (struct Lisp_String) - 1
- + XSTRING (XCAR (elt))->size);
+ + SCHARS (XCAR (elt)));
}
/* Advance to next element. */
size_so_far += sizeof (struct Lisp_Cons);
if (STRINGP (XCAR (elt)))
size_so_far += (sizeof (struct Lisp_String) - 1
- + XSTRING (XCAR (elt))->size);
+ + SCHARS (XCAR (elt)));
}
/* Advance to next element. */
{
struct gcpro gcpro1, gcpro2;
Lisp_Object next;
- int count = BINDING_STACK_SIZE ();
+ int count = SPECPDL_INDEX ();
register int arg;
#if 0 /* This is a good feature, but would make undo-start