aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index 1a2c68a4e44..10cd316cf78 100644
--- a/src/data.c
+++ b/src/data.c
@@ -83,6 +83,7 @@ Lisp_Object Qnumberp, Qnumber_or_marker_p;
83static Lisp_Object Qinteger, Qsymbol, Qstring, Qcons, Qmarker, Qoverlay; 83static Lisp_Object Qinteger, Qsymbol, Qstring, Qcons, Qmarker, Qoverlay;
84static Lisp_Object Qfloat, Qwindow_configuration, Qprocess, Qwindow; 84static Lisp_Object Qfloat, Qwindow_configuration, Qprocess, Qwindow;
85static Lisp_Object Qcompiled_function, Qbuffer, Qframe, Qvector; 85static Lisp_Object Qcompiled_function, Qbuffer, Qframe, Qvector;
86static Lisp_Object Qchar_table, Qbool_vector;
86 87
87static Lisp_Object swap_in_symval_forwarding (); 88static Lisp_Object swap_in_symval_forwarding ();
88 89
@@ -228,6 +229,10 @@ for example, (type-of 1) returns `integer'.")
228 return Qcompiled_function; 229 return Qcompiled_function;
229 if (GC_BUFFERP (object)) 230 if (GC_BUFFERP (object))
230 return Qbuffer; 231 return Qbuffer;
232 if (GC_CHAR_TABLE_P (object))
233 return Qchar_table;
234 if (GC_BOOL_VECTOR_P (object))
235 return Qbool_vector;
231 236
232#ifdef MULTI_FRAME 237#ifdef MULTI_FRAME
233 if (GC_FRAMEP (object)) 238 if (GC_FRAMEP (object))
@@ -2600,6 +2605,8 @@ syms_of_data ()
2600 Qbuffer = intern ("buffer"); 2605 Qbuffer = intern ("buffer");
2601 Qframe = intern ("frame"); 2606 Qframe = intern ("frame");
2602 Qvector = intern ("vector"); 2607 Qvector = intern ("vector");
2608 Qchar_table = intern ("char-table");
2609 Qbool_vector = intern ("bool-vector");
2603 2610
2604 staticpro (&Qinteger); 2611 staticpro (&Qinteger);
2605 staticpro (&Qsymbol); 2612 staticpro (&Qsymbol);
@@ -2616,6 +2623,8 @@ syms_of_data ()
2616 staticpro (&Qbuffer); 2623 staticpro (&Qbuffer);
2617 staticpro (&Qframe); 2624 staticpro (&Qframe);
2618 staticpro (&Qvector); 2625 staticpro (&Qvector);
2626 staticpro (&Qchar_table);
2627 staticpro (&Qbool_vector);
2619 2628
2620 defsubr (&Seq); 2629 defsubr (&Seq);
2621 defsubr (&Snull); 2630 defsubr (&Snull);