Function: tpu-delete-previous-word

tpu-delete-previous-word is an interactive and byte-compiled function defined in tpu-edt.el.gz.

Signature

(tpu-delete-previous-word NUM)

Documentation

Delete one or specified number of words before point.

They are saved for the TPU-edt undelete-words command.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/tpu-edt.el.gz
(defun tpu-delete-previous-word (num)
  "Delete one or specified number of words before point.
They are saved for the TPU-edt undelete-words command."
  (interactive "p")
  (let ((beg (point)))
    (tpu-backward-to-word num)
    (setq tpu-last-deleted-words
          (buffer-substring (point) beg))
    (delete-region beg (point))))