changeset 10248:8b95a9a6d466

(wrong_type_argument): Use Lisp_Type_Limit.
author Richard M. Stallman <rms@gnu.org>
date Sun, 25 Dec 1994 17:49:39 +0000
parents f59aa6fddad6
children a664a948dd55
files src/data.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Sun Dec 25 17:49:06 1994 +0000
+++ b/src/data.c	Sun Dec 25 17:49:39 1994 +0000
@@ -104,7 +104,7 @@
 
       /* 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)));