summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAlex Branham <alex.branham@gmail.com>2018-10-05 09:07:13 -0500
committerEli Zaretskii <eliz@gnu.org>2018-10-12 11:39:02 +0300
commit643df633ea8afafce661a20b54676691f59a68ce (patch)
tree64a624c965365e65e139c644558349e5d18ef634 /lisp
parentd0eca49e3c811d43dfc9bc407bf608d7a955ced8 (diff)
downloademacs-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)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/eshell/em-rebind.el2
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)