delete-selection-pre-hook

delete-selection-pre-hook is a compiled Lisp function in `delsel.el'.

(delete-selection-pre-hook)

Function run before commands that delete selections are executed.
Commands which will delete the selection need a `delete-selection'
property on their symbol; commands which insert text but don't
have this property won't delete the selection.
See `delete-selection-helper'.