diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/textprop.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/textprop.c b/src/textprop.c index 0a591d0e05f..96d88edebd2 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -2344,8 +2344,16 @@ returned. */); | |||
| 2344 | 2344 | ||
| 2345 | DEFVAR_LISP ("inhibit-point-motion-hooks", Vinhibit_point_motion_hooks, | 2345 | DEFVAR_LISP ("inhibit-point-motion-hooks", Vinhibit_point_motion_hooks, |
| 2346 | doc: /* If non-nil, don't run `point-left' and `point-entered' text properties. | 2346 | doc: /* If non-nil, don't run `point-left' and `point-entered' text properties. |
| 2347 | This also inhibits the use of the `intangible' text property. */); | 2347 | This also inhibits the use of the `intangible' text property. |
| 2348 | Vinhibit_point_motion_hooks = Qnil; | 2348 | |
| 2349 | This variable is obsolete since Emacs-25.1. Use `cursor-intangible-mode' | ||
| 2350 | or `cursor-sensor-mode' instead. */); | ||
| 2351 | /* FIXME: We should make-obsolete-variable, but that signals too many | ||
| 2352 | warnings in code which does (let ((inhibit-point-motion-hooks t)) ...) | ||
| 2353 | Ideally, make-obsolete-variable should let us specify that only the nil | ||
| 2354 | value is obsolete, but that requires too many changes in bytecomp.el, | ||
| 2355 | so for now we'll keep it "obsolete via the docstring". */ | ||
| 2356 | Vinhibit_point_motion_hooks = Qt; | ||
| 2349 | 2357 | ||
| 2350 | DEFVAR_LISP ("text-property-default-nonsticky", | 2358 | DEFVAR_LISP ("text-property-default-nonsticky", |
| 2351 | Vtext_property_default_nonsticky, | 2359 | Vtext_property_default_nonsticky, |