Function: c-hungry-delete-backwards
c-hungry-delete-backwards is an interactive and byte-compiled function
defined in cc-cmds.el.gz.
Signature
(c-hungry-delete-backwards)
Documentation
Delete the preceding character or all preceding whitespace
back to the previous non-whitespace character.
See also M-x c-hungry-delete-forward (c-hungry-delete-forward).
Key Bindings
Aliases
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-cmds.el.gz
(defun c-hungry-delete-backwards ()
"Delete the preceding character or all preceding whitespace
back to the previous non-whitespace character.
See also \\[c-hungry-delete-forward]."
(interactive)
(c-with-string-fences
(let ((here (point)))
(c-skip-ws-backward)
(if (/= (point) here)
(delete-region (point) here)
(funcall c-backspace-function 1)))))