register int c;
register enum syntaxcode code;
int comstyle = 0; /* style of comment encountered */
+ int found;
immediate_quit = 1;
QUIT;
from = PT;
+ found = from;
while (count > 0)
{
+ found = from;
stop = ZV;
while (from < stop)
{
if (from == stop)
{
immediate_quit = 0;
- SET_PT (from);
+ SET_PT (found);
return Qnil;
}
c = FETCH_CHAR (from);
else if (code != Swhitespace)
{
immediate_quit = 0;
- SET_PT (from);
+ SET_PT (found);
return Qnil;
}
}
while (count < 0)
{
+ found = from;
+
stop = BEGV;
while (from > stop)
{
if (from == stop)
{
immediate_quit = 0;
- SET_PT (from);
+ SET_PT (found);
return Qnil;
}
from--;
else if (code != Swhitespace || quoted)
{
immediate_quit = 0;
- SET_PT (from);
+ SET_PT (found);
return Qnil;
}
}