aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoseph Arceneaux1992-10-02 20:05:45 +0000
committerJoseph Arceneaux1992-10-02 20:05:45 +0000
commit25013c264ca41f20793cc97574aa3b18d3cf43e5 (patch)
treeeffbe2a25efdc4755cb0a506ed2e1c18f8f36bfb /src
parentd2f7a8023e2ad9e6bd6075626e8e870bf7507754 (diff)
downloademacs-25013c264ca41f20793cc97574aa3b18d3cf43e5.tar.gz
emacs-25013c264ca41f20793cc97574aa3b18d3cf43e5.zip
* textprop.c: Conditionalize all functions on
"USE_TEXT_PROPERTIES".
Diffstat (limited to 'src')
-rw-r--r--src/textprop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 052b14081a5..7c6cb02b31b 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -35,6 +35,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
35 neccessary for the system to remain consistent. This requirement 35 neccessary for the system to remain consistent. This requirement
36 is enforced by the subrs installing properties onto the intervals. */ 36 is enforced by the subrs installing properties onto the intervals. */
37 37
38/* The rest of the file is within this conditional */
39#ifdef USE_TEXT_PROPERTIES
38 40
39/* Types of hooks. */ 41/* Types of hooks. */
40Lisp_Object Qmouse_left; 42Lisp_Object Qmouse_left;
@@ -830,3 +832,9 @@ percentage by which the left interval tree should not differ from the right.");
830 defsubr (&Sremove_text_properties); 832 defsubr (&Sremove_text_properties);
831 defsubr (&Serase_text_properties); 833 defsubr (&Serase_text_properties);
832} 834}
835
836#else
837
838lose -- this shouldn't be compiled if USE_TEXT_PROPERTIES isn't defined
839
840#endif /* USE_TEXT_PROPERTIES */