diff options
| -rw-r--r-- | src/textprop.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c index 8b405a2bb44..fb750016d6c 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -69,6 +69,7 @@ Lisp_Object Qfront_sticky, Qrear_nonsticky; | |||
| 69 | 69 | ||
| 70 | Lisp_Object Vinhibit_point_motion_hooks; | 70 | Lisp_Object Vinhibit_point_motion_hooks; |
| 71 | Lisp_Object Vdefault_text_properties; | 71 | Lisp_Object Vdefault_text_properties; |
| 72 | Lisp_Object Vtext_property_default_nonsticky; | ||
| 72 | 73 | ||
| 73 | /* verify_interval_modification saves insertion hooks here | 74 | /* verify_interval_modification saves insertion hooks here |
| 74 | to be run later by report_interval_modification. */ | 75 | to be run later by report_interval_modification. */ |
| @@ -1830,6 +1831,17 @@ character that does not have its own value for that property."); | |||
| 1830 | This also inhibits the use of the `intangible' text property."); | 1831 | This also inhibits the use of the `intangible' text property."); |
| 1831 | Vinhibit_point_motion_hooks = Qnil; | 1832 | Vinhibit_point_motion_hooks = Qnil; |
| 1832 | 1833 | ||
| 1834 | DEFVAR_LISP ("text-property-default-nonsticky", | ||
| 1835 | &Vtext_property_default_nonsticky, | ||
| 1836 | "Alist of properties vs the corresponding non-stickinesses.\n\ | ||
| 1837 | Each element has the form (PROPERTY . NONSTICKINESS).\n\ | ||
| 1838 | \n\ | ||
| 1839 | If a character in a buffer has PROPERTY, new text inserted adjacent to\n\ | ||
| 1840 | the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil,\n\ | ||
| 1841 | inherits it if NONSTICKINESS is nil. The front-sticky and\n\ | ||
| 1842 | rear-nonsticky properties of the character overrides NONSTICKINESS."); | ||
| 1843 | Vtext_property_default_nonsticky = Qnil; | ||
| 1844 | |||
| 1833 | staticpro (&interval_insert_behind_hooks); | 1845 | staticpro (&interval_insert_behind_hooks); |
| 1834 | staticpro (&interval_insert_in_front_hooks); | 1846 | staticpro (&interval_insert_in_front_hooks); |
| 1835 | interval_insert_behind_hooks = Qnil; | 1847 | interval_insert_behind_hooks = Qnil; |