Function: eshell-delete-backward-char

eshell-delete-backward-char is an interactive and byte-compiled function defined in em-rebind.el.gz.

Signature

(eshell-delete-backward-char N)

Documentation

Delete the last character, unless it's part of the output.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-rebind.el.gz
(defun eshell-delete-backward-char (n)
  "Delete the last character, unless it's part of the output."
  (interactive "P")
  (let ((count (prefix-numeric-value n)))
    (if (eshell-point-within-input-p (- (point) count))
	(delete-char (- count) n)
      (beep))))