Variable: disable-point-adjustment

disable-point-adjustment is a variable defined in keyboard.c.

Value

nil

Documentation

If non-nil, suppress point adjustment after executing a command.

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 leaves this variable at a non-nil value (e.g., with a setq), this point adjustment is suppressed.

This variable is set to nil before reading a command, and is checked just after executing the command.

View in manual

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  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 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 leaves this variable at
a non-nil value (e.g., with a setq), this point adjustment is suppressed.

This variable is set to nil before reading a command, and is checked
just after executing the command.  */);