diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/textprop.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c index dd04b2f209a..a007e4eb3b2 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -55,6 +55,8 @@ Lisp_Object Qinvisible, Qread_only; | |||
| 55 | traversing plists. */ | 55 | traversing plists. */ |
| 56 | #define PLIST_ELT_P(o1, o2) (CONSP (o1) && CONSP ((o2) = XCONS (o1)->cdr)) | 56 | #define PLIST_ELT_P(o1, o2) (CONSP (o1) && CONSP ((o2) = XCONS (o1)->cdr)) |
| 57 | 57 | ||
| 58 | Lisp_Object Vinhibit_point_motion_hooks; | ||
| 59 | |||
| 58 | 60 | ||
| 59 | /* Extract the interval at the position pointed to by BEGIN from | 61 | /* Extract the interval at the position pointed to by BEGIN from |
| 60 | OBJECT, a string or buffer. Additionally, check that the positions | 62 | OBJECT, a string or buffer. Additionally, check that the positions |
| @@ -1178,6 +1180,11 @@ syms_of_textprop () | |||
| 1178 | percentage by which the left interval tree should not differ from the right."); | 1180 | percentage by which the left interval tree should not differ from the right."); |
| 1179 | interval_balance_threshold = 8; | 1181 | interval_balance_threshold = 8; |
| 1180 | 1182 | ||
| 1183 | DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks, | ||
| 1184 | "If nonnil, don't call the text property values of\n\ | ||
| 1185 | `point-left' and `point-entered'."); | ||
| 1186 | Vinhibit_point_motion_hooks = Qnil; | ||
| 1187 | |||
| 1181 | /* Common attributes one might give text */ | 1188 | /* Common attributes one might give text */ |
| 1182 | 1189 | ||
| 1183 | staticpro (&Qforeground); | 1190 | staticpro (&Qforeground); |