aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-12-25 17:49:39 +0000
committerRichard M. Stallman <[email protected]>1994-12-25 17:49:39 +0000
commit04be39934fa9dc8c14f557ee462ff2cf292ba4b1 (patch)
tree0bad1aff1dfacc865ad5df2f2317eea5aeb3c583 /src/data.c
parenteeed793e62c2b1946028d73c9ef459d53286752e (diff)
(wrong_type_argument): Use Lisp_Type_Limit.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 24ee967d30..5a4c26e017 100644
--- a/src/data.c
+++ b/src/data.c
@@ -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)));