aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intervals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intervals.h b/src/intervals.h
index b7e1667b5a6..234df7d4112 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -160,6 +160,8 @@ Boston, MA 02111-1307, USA. */
160/* Replace later with cache access */ 160/* Replace later with cache access */
161/*#define FRONT_STICKY_P(i) ((i)->front_sticky != 0) 161/*#define FRONT_STICKY_P(i) ((i)->front_sticky != 0)
162 #define END_STICKY_P(i) ((i)->rear_sticky != 0)*/ 162 #define END_STICKY_P(i) ((i)->rear_sticky != 0)*/
163/* As we now have Vtext_property_default_nonsticky, these macros are
164 unreliable now. Currently, they are never used. */
163#define FRONT_STICKY_P(i) \ 165#define FRONT_STICKY_P(i) \
164 (! NULL_INTERVAL_P (i) && ! NILP (textget ((i)->plist, Qfront_sticky))) 166 (! NULL_INTERVAL_P (i) && ! NILP (textget ((i)->plist, Qfront_sticky)))
165#define END_NONSTICKY_P(i) \ 167#define END_NONSTICKY_P(i) \
@@ -219,6 +221,8 @@ extern INLINE void copy_intervals_to_string P_ ((Lisp_Object, struct buffer *,
219extern INTERVAL copy_intervals P_ ((INTERVAL, int, int)); 221extern INTERVAL copy_intervals P_ ((INTERVAL, int, int));
220extern Lisp_Object textget P_ ((Lisp_Object, Lisp_Object)); 222extern Lisp_Object textget P_ ((Lisp_Object, Lisp_Object));
221extern void move_if_not_intangible P_ ((int)); 223extern void move_if_not_intangible P_ ((int));
224extern int get_property_and_range P_ ((int, Lisp_Object, Lisp_Object *,
225 int *, int *, Lisp_Object));
222extern Lisp_Object get_local_map P_ ((int, struct buffer *)); 226extern Lisp_Object get_local_map P_ ((int, struct buffer *));
223extern INTERVAL update_interval P_ ((INTERVAL, int)); 227extern INTERVAL update_interval P_ ((INTERVAL, int));
224extern void set_intervals_multibyte P_ ((int)); 228extern void set_intervals_multibyte P_ ((int));
@@ -245,6 +249,7 @@ extern Lisp_Object Qinvisible, Qintangible, Qread_only;
245 249
246extern Lisp_Object Vinhibit_point_motion_hooks; 250extern Lisp_Object Vinhibit_point_motion_hooks;
247extern Lisp_Object Vdefault_text_properties; 251extern Lisp_Object Vdefault_text_properties;
252extern Lisp_Object Vtext_property_default_nonsticky;
248 253
249/* Sticky properties */ 254/* Sticky properties */
250extern Lisp_Object Qfront_sticky, Qrear_nonsticky; 255extern Lisp_Object Qfront_sticky, Qrear_nonsticky;
@@ -268,3 +273,5 @@ int add_text_properties_from_list P_ ((Lisp_Object, Lisp_Object, Lisp_Object));
268void extend_property_ranges P_ ((Lisp_Object, Lisp_Object, Lisp_Object)); 273void extend_property_ranges P_ ((Lisp_Object, Lisp_Object, Lisp_Object));
269 274
270extern void syms_of_textprop (); 275extern void syms_of_textprop ();
276
277#include "composite.h"