self-insert-uses-region-functions
self-insert-uses-region-functions is a variable defined in `
simple.el
'.
Its value is
nil
- This variable may be risky if used as a file-local variable.
Documentation:
Special hook to tell if `self-insert-command' will use the region.
It must be called via `run-hook-with-args-until-success' with no arguments.
Any `post-self-insert-command' which consumes the region should
register a function on this hook so that things like `delete-selection-mode'
can refrain from consuming the region.