# HG changeset patch # User Kenichi Handa # Date 945216859 0 # Node ID 7d3ca36657cb16262a3430080511f998ce7d1e93 # Parent 96ecaefd97a098da170cf37fb17e4c566f6b896f Include composite.h. (get_property_and_range): Extern it. (Vtext_property_default_nonsticky): Extern it. diff -r 96ecaefd97a0 -r 7d3ca36657cb src/intervals.h --- a/src/intervals.h Wed Dec 15 00:13:49 1999 +0000 +++ b/src/intervals.h Wed Dec 15 00:14:19 1999 +0000 @@ -160,6 +160,8 @@ /* Replace later with cache access */ /*#define FRONT_STICKY_P(i) ((i)->front_sticky != 0) #define END_STICKY_P(i) ((i)->rear_sticky != 0)*/ +/* As we now have Vtext_property_default_nonsticky, these macros are + unreliable now. Currently, they are never used. */ #define FRONT_STICKY_P(i) \ (! NULL_INTERVAL_P (i) && ! NILP (textget ((i)->plist, Qfront_sticky))) #define END_NONSTICKY_P(i) \ @@ -219,6 +221,8 @@ extern INTERVAL copy_intervals P_ ((INTERVAL, int, int)); extern Lisp_Object textget P_ ((Lisp_Object, Lisp_Object)); extern void move_if_not_intangible P_ ((int)); +extern int get_property_and_range P_ ((int, Lisp_Object, Lisp_Object *, + int *, int *, Lisp_Object)); extern Lisp_Object get_local_map P_ ((int, struct buffer *)); extern INTERVAL update_interval P_ ((INTERVAL, int)); extern void set_intervals_multibyte P_ ((int)); @@ -245,6 +249,7 @@ extern Lisp_Object Vinhibit_point_motion_hooks; extern Lisp_Object Vdefault_text_properties; +extern Lisp_Object Vtext_property_default_nonsticky; /* Sticky properties */ extern Lisp_Object Qfront_sticky, Qrear_nonsticky; @@ -268,3 +273,5 @@ void extend_property_ranges P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); extern void syms_of_textprop (); + +#include "composite.h"