* src/fns.c (Flength, Fproper_list_p): Use overflow_error to
report the (typically impossible) fixnum overflow.
i++;
CHECK_LIST_END (sequence, sequence);
if (MOST_POSITIVE_FIXNUM < i)
- error ("List too long");
+ overflow_error ();
val = make_fixnum (i);
}
else if (NILP (sequence))
if (!NILP (last_tail))
return Qnil;
if (MOST_POSITIVE_FIXNUM < len)
- xsignal0 (Qoverflow_error);
+ overflow_error ();
return make_fixnum (len);
}