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)
This commit is contained in:
Alex Branham 2018-10-05 09:07:13 -05:00 committed by Eli Zaretskii
parent d0eca49e3c
commit 643df633ea

View file

@ -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)