diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-29 15:42:12 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-29 15:42:12 -0700 |
commit | d5040d2dec0f7e08b715ce6952d5568ed86d1812 (patch) | |
tree | ceb72ae576a0d5fb43286ed4beb287b1bdf46b8d /src/data.c | |
parent | d6e7c17b31f74169fc787d02a36b15f17ba41f86 (diff) | |
download | emacs-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.c | 2 |
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)); |