From: Alex Branham Date: Fri, 5 Oct 2018 14:07:13 +0000 (-0500) Subject: Avoid byte-compiler warning in em-rebind.el X-Git-Tag: emacs-26.1.90~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=643df633ea8afafce661a20b54676691f59a68ce;p=emacs.git 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) --- 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)