Function: edt-delete-previous-character
edt-delete-previous-character is an interactive and byte-compiled
function defined in edt.el.gz.
Signature
(edt-delete-previous-character NUM)
Documentation
Delete character in front of cursor.
Argument NUM is the number of characters to delete.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
;;;
;;; DELETE CHAR
;;;
(defun edt-delete-previous-character (num)
"Delete character in front of cursor.
Argument NUM is the number of characters to delete."
(interactive "*p")
(edt-check-prefix num)
(setq edt-last-deleted-chars
(buffer-substring (max (point-min) (- (point) num)) (point)))
(delete-region (max (point-min) (- (point) num)) (point)))