Commit 481399bf authored by Richard M. Stallman's avatar Richard M. Stallman

(search_command): When moving to LIM on failure, return LIM.

parent 3bd779aa
......@@ -502,9 +502,10 @@ search_command (string, bound, noerror, count, direction, RE)
{
if (lim < BEGV || lim > ZV)
abort ();
SET_PT (lim);
np = lim;
}
return Qnil;
else
return Qnil;
}
if (np < BEGV || np > ZV)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment