*end = n;
}
- if (XTYPE (object) == Lisp_Buffer)
+ if (BUFFERP (object))
{
register struct buffer *b = XBUFFER (object);
break;
/* Record this change in the buffer, for undo purposes. */
- if (XTYPE (object) == Lisp_Buffer)
+ if (BUFFERP (object))
{
modify_region (XBUFFER (object),
make_number (i->position),
if (! found)
{
/* Record this change in the buffer, for undo purposes. */
- if (XTYPE (object) == Lisp_Buffer)
+ if (BUFFERP (object))
{
modify_region (XBUFFER (object),
make_number (i->position),
/* First, remove the symbol if its at the head of the list */
while (! NILP (current_plist) && EQ (sym, Fcar (current_plist)))
{
- if (XTYPE (object) == Lisp_Buffer)
+ if (BUFFERP (object))
{
modify_region (XBUFFER (object),
make_number (i->position),
this = Fcdr (Fcdr (tail2));
if (EQ (sym, Fcar (this)))
{
- if (XTYPE (object) == Lisp_Buffer)
+ if (BUFFERP (object))
{
modify_region (XBUFFER (object),
make_number (i->position),
if (! NILP (limit) && !(next->position < XFASTINT (limit)))
return limit;
- XFASTINT (pos) = next->position - (XTYPE (object) == Lisp_String);
+ XFASTINT (pos) = next->position - (STRINGP (object));
return pos;
}
if (! NILP (limit) && !(next->position < XFASTINT (limit)))
return limit;
- XFASTINT (pos) = next->position - (XTYPE (object) == Lisp_String);
+ XFASTINT (pos) = next->position - (STRINGP (object));
return pos;
}
return limit;
XFASTINT (pos) = (previous->position + LENGTH (previous)
- - (XTYPE (object) == Lisp_String));
+ - (STRINGP (object)));
return pos;
}
return limit;
XFASTINT (pos) = (previous->position + LENGTH (previous)
- - (XTYPE (object) == Lisp_String));
+ - (STRINGP (object)));
return pos;
}
pos = i->position;
if (pos < XINT (start))
pos = XINT (start);
- return make_number (pos - (XTYPE (object) == Lisp_String));
+ return make_number (pos - (STRINGP (object)));
}
i = next_interval (i);
}
{
if (i->position > s)
s = i->position;
- return make_number (s - (XTYPE (object) == Lisp_String));
+ return make_number (s - (STRINGP (object)));
}
i = next_interval (i);
}