diff src/textprop.c @ 1302:538cc0cd6d83

* textprop.c: Conditionalize all functions on "USE_TEXT_PROPERTIES".
author Joseph Arceneaux <jla@gnu.org>
date Fri, 02 Oct 1992 20:05:45 +0000
parents 6f4cbcc62eba
children 5c19f71f0314
line wrap: on
line diff
--- a/src/textprop.c	Fri Oct 02 20:02:51 1992 +0000
+++ b/src/textprop.c	Fri Oct 02 20:05:45 1992 +0000
@@ -35,6 +35,8 @@
   neccessary for the system to remain consistent.  This requirement
   is enforced by the subrs installing properties onto the intervals. */
 
+/* The rest of the file is within this conditional */
+#ifdef USE_TEXT_PROPERTIES
 
 /* Types of hooks. */
 Lisp_Object Qmouse_left;
@@ -830,3 +832,9 @@
   defsubr (&Sremove_text_properties);
   defsubr (&Serase_text_properties);
 }
+
+#else
+
+lose -- this shouldn't be compiled if USE_TEXT_PROPERTIES isn't defined
+
+#endif /* USE_TEXT_PROPERTIES */