c-delete-function

c-delete-function is a variable defined in `cc-vars.el'.
Its value is
delete-char

  • This variable may be risky if used as a file-local variable.

Documentation:
*Function called by `c-electric-delete-forward' when deleting forwards.

You can customize this variable.