Commit 04be3993 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(wrong_type_argument): Use Lisp_Type_Limit.

parent eeed793e
......@@ -104,7 +104,7 @@ wrong_type_argument (predicate, value)
/* If VALUE is not even a valid Lisp object, abort here
where we can get a backtrace showing where it came from. */
if ((unsigned int) XGCTYPE (value) > Lisp_Window + 2)
if ((unsigned int) XGCTYPE (value) >= Lisp_Type_Limit)
abort ();
value = Fsignal (Qwrong_type_argument, Fcons (predicate, Fcons (value, Qnil)));
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