changeset 17363:0fe9203c7a06

(DISP_TABLE_P): Don't use Lisp_Object as integer.
author Karl Heuer <kwzh@gnu.org>
date Thu, 10 Apr 1997 21:16:33 +0000
parents 87db7dfa4a96
children 573189779804
files src/disptab.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/disptab.h	Thu Apr 10 21:15:53 1997 +0000
+++ b/src/disptab.h	Thu Apr 10 21:16:33 1997 +0000
@@ -22,7 +22,7 @@
 
 #define DISP_TABLE_P(obj)						    \
   (CHAR_TABLE_P (obj)							    \
-   && XCHAR_TABLE (obj)->purpose == Qdisplay_table			    \
+   && EQ (XCHAR_TABLE (obj)->purpose, Qdisplay_table)			    \
    && CHAR_TABLE_EXTRA_SLOTS (XCHAR_TABLE (obj)) == DISP_TABLE_EXTRA_SLOTS)
 
 #define DISP_TABLE_EXTRA_SLOTS 6