diff options
author | Alex Branham <alex.branham@gmail.com> | 2018-10-05 09:07:13 -0500 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-10-12 11:39:02 +0300 |
commit | 643df633ea8afafce661a20b54676691f59a68ce (patch) | |
tree | 64a624c965365e65e139c644558349e5d18ef634 | |
parent | d0eca49e3c811d43dfc9bc407bf608d7a955ced8 (diff) | |
download | emacs-643df633ea8afafce661a20b54676691f59a68ce.tar.gz |
Avoid byte-compiler warning in em-rebind.el
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Use
'delete-char' instead of delete-backward-char. (Bug#32945)
-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) |