From d5040d2dec0f7e08b715ce6952d5568ed86d1812 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 29 Jul 2012 15:42:12 -0700 Subject: * lisp.h (LISP_INT_TAG, LISP_INT1_TAG, LISP_STRING_TAG): Remove. These macros are confusing and no longer need to be defined, as the enum values now suffice. Each use replaced with definiens. (Lisp_Int1, Lisp_String): Define directly; this is clearer. --- src/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/data.c') diff --git a/src/data.c b/src/data.c index b23bcbe15b3..bef2888a969 100644 --- a/src/data.c +++ b/src/data.c @@ -928,7 +928,7 @@ store_symval_forwarding (union Lisp_Fwd *valcontents, register Lisp_Object newva Lisp_Object type = XBUFFER_OBJFWD (valcontents)->slottype; if (!(NILP (type) || NILP (newval) - || (XINT (type) == LISP_INT_TAG + || (XINT (type) == Lisp_Int0 ? INTEGERP (newval) : XTYPE (newval) == XINT (type)))) buffer_slot_type_mismatch (newval, XINT (type)); -- cgit v1.2.1