Function: c-electric-backspace
c-electric-backspace is an interactive and byte-compiled function
defined in cc-cmds.el.gz.
Signature
(c-electric-backspace ARG)
Documentation
Delete the preceding character or whitespace.
If c-hungry-delete-key is non-nil (indicated by "/h" on the mode
line) then all preceding whitespace is consumed. If however a prefix
argument is supplied, or c-hungry-delete-key is nil, or point is
inside a literal then the function in the variable
c-backspace-function is called.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-cmds.el.gz
;; Electric keys
(defun c-electric-backspace (arg)
"Delete the preceding character or whitespace.
If `c-hungry-delete-key' is non-nil (indicated by \"/h\" on the mode
line) then all preceding whitespace is consumed. If however a prefix
argument is supplied, or `c-hungry-delete-key' is nil, or point is
inside a literal then the function in the variable
`c-backspace-function' is called."
(interactive "*P")
(c-with-string-fences
(if (c-save-buffer-state ()
(or (not c-hungry-delete-key)
arg
(c-in-literal)))
(funcall c-backspace-function (prefix-numeric-value arg))
(c-hungry-delete-backwards))))