changeset 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 5a27062b8b7f
children 0a488d74fd6c
files src/textprop.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
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 */