Fix documentation of 'global-disable-point-adjustment'

* src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
<global-disable-point-adjustment>: Doc fixes.  (Bug#22771)
This commit is contained in:
Eli Zaretskii 2016-02-22 19:30:01 +02:00
parent 8c22ac9115
commit 6bd9d697fd

View file

@ -11620,10 +11620,10 @@ It's called with one argument, the help string to display. */);
DEFVAR_LISP ("disable-point-adjustment", Vdisable_point_adjustment,
doc: /* If non-nil, suppress point adjustment after executing a command.
After a command is executed, if point is moved into a region that has
special properties (e.g. composition, display), we adjust point to
the boundary of the region. But, when a command sets this variable to
non-nil, we suppress the point adjustment.
After a command is executed, if point moved into a region that has
special properties (e.g. composition, display), Emacs adjusts point to
the boundary of the region. But when a command binds this variable to
non-nil, this point adjustment is suppressed.
This variable is set to nil before reading a command, and is checked
just after executing the command. */);
@ -11631,9 +11631,9 @@ just after executing the command. */);
DEFVAR_LISP ("global-disable-point-adjustment",
Vglobal_disable_point_adjustment,
doc: /* If non-nil, always suppress point adjustment.
doc: /* If non-nil, always suppress point adjustments.
The default value is nil, in which case, point adjustment are
The default value is nil, in which case point adjustments are
suppressed only after special commands that set
`disable-point-adjustment' (which see) to non-nil. */);
Vglobal_disable_point_adjustment = Qnil;