# HG changeset patch # User Karl Heuer # Date 818821029 0 # Node ID 89ffc133f81320fb2a292701e7d24da06a2c144d # Parent 45e71ea63d7191ecb20dcf8aac751efbf513beb1 (Ftype_of): Return `char-table' and `bool-vector' for char tables and bool vectors, resp. (Qchar_table, Qbool_vector): New variables. (syms_of_data): Initialize and staticpro them. diff -r 45e71ea63d71 -r 89ffc133f813 src/data.c --- a/src/data.c Wed Dec 13 02:13:59 1995 +0000 +++ b/src/data.c Wed Dec 13 02:17:09 1995 +0000 @@ -83,6 +83,7 @@ static Lisp_Object Qinteger, Qsymbol, Qstring, Qcons, Qmarker, Qoverlay; static Lisp_Object Qfloat, Qwindow_configuration, Qprocess, Qwindow; static Lisp_Object Qcompiled_function, Qbuffer, Qframe, Qvector; +static Lisp_Object Qchar_table, Qbool_vector; static Lisp_Object swap_in_symval_forwarding (); @@ -228,6 +229,10 @@ return Qcompiled_function; if (GC_BUFFERP (object)) return Qbuffer; + if (GC_CHAR_TABLE_P (object)) + return Qchar_table; + if (GC_BOOL_VECTOR_P (object)) + return Qbool_vector; #ifdef MULTI_FRAME if (GC_FRAMEP (object)) @@ -2600,6 +2605,8 @@ Qbuffer = intern ("buffer"); Qframe = intern ("frame"); Qvector = intern ("vector"); + Qchar_table = intern ("char-table"); + Qbool_vector = intern ("bool-vector"); staticpro (&Qinteger); staticpro (&Qsymbol); @@ -2616,6 +2623,8 @@ staticpro (&Qbuffer); staticpro (&Qframe); staticpro (&Qvector); + staticpro (&Qchar_table); + staticpro (&Qbool_vector); defsubr (&Seq); defsubr (&Snull);