Function: edt-delete-word
edt-delete-word is an interactive and byte-compiled function defined
in edt.el.gz.
Signature
(edt-delete-word NUM)
Documentation
Delete from cursor up to but excluding first character of next word.
Argument NUM is the number of words to delete.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
;;;
;;; DEL W
;;;
(defun edt-delete-word (num)
"Delete from cursor up to but excluding first character of next word.
Argument NUM is the number of words to delete."
(interactive "*p")
(edt-check-prefix num)
(let ((beg (point)))
(edt-word-forward num)
(setq edt-last-deleted-words (buffer-substring beg (point)))
(delete-region beg (point))))