Function: c-electric-delete-forward
c-electric-delete-forward is an interactive and byte-compiled function
defined in cc-cmds.el.gz.
Signature
(c-electric-delete-forward ARG)
Documentation
Delete the following character or whitespace.
If c-hungry-delete-key is non-nil (indicated by "/h" on the mode
line) then all following 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-delete-function
is called.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-cmds.el.gz
(defun c-electric-delete-forward (arg)
"Delete the following character or whitespace.
If `c-hungry-delete-key' is non-nil (indicated by \"/h\" on the mode
line) then all following 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-delete-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-delete-function (prefix-numeric-value arg))
(c-hungry-delete-forward))))