diff options
Diffstat (limited to 'lisp/eshell/em-rebind.el')
-rw-r--r-- | lisp/eshell/em-rebind.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el index e6f04b68e0c..064dcc762d2 100644 --- a/lisp/eshell/em-rebind.el +++ b/lisp/eshell/em-rebind.el @@ -223,7 +223,7 @@ lock it at that." (interactive "P") (let ((count (prefix-numeric-value n))) (if (eshell-point-within-input-p (- (point) count)) - (delete-backward-char count n) + (delete-char (- count) n) (beep)))) (defun eshell-delchar-or-maybe-eof (arg) |