Commit 688a5a0f authored by Richard M. Stallman's avatar Richard M. Stallman

(syms_of_textprop): Set up Lisp var Vinhibit_point_motion_hooks.

parent b81de1f7
......@@ -55,6 +55,8 @@ Lisp_Object Qinvisible, Qread_only;
traversing plists. */
#define PLIST_ELT_P(o1, o2) (CONSP (o1) && CONSP ((o2) = XCONS (o1)->cdr))
Lisp_Object Vinhibit_point_motion_hooks;
/* Extract the interval at the position pointed to by BEGIN from
OBJECT, a string or buffer. Additionally, check that the positions
......@@ -1178,6 +1180,11 @@ syms_of_textprop ()
percentage by which the left interval tree should not differ from the right.");
interval_balance_threshold = 8;
DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks,
"If nonnil, don't call the text property values of\n\
`point-left' and `point-entered'.");
Vinhibit_point_motion_hooks = Qnil;
/* Common attributes one might give text */
staticpro (&Qforeground);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment