summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-29 15:42:12 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-29 15:42:12 -0700
commitd5040d2dec0f7e08b715ce6952d5568ed86d1812 (patch)
treeceb72ae576a0d5fb43286ed4beb287b1bdf46b8d /src/data.c
parentd6e7c17b31f74169fc787d02a36b15f17ba41f86 (diff)
downloademacs-d5040d2dec0f7e08b715ce6952d5568ed86d1812.tar.gz
* 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.
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 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));