aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Branham2018-10-05 09:07:13 -0500
committerEli Zaretskii2018-10-12 11:39:02 +0300
commit643df633ea8afafce661a20b54676691f59a68ce (patch)
tree64a624c965365e65e139c644558349e5d18ef634
parentd0eca49e3c811d43dfc9bc407bf608d7a955ced8 (diff)
downloademacs-643df633ea8afafce661a20b54676691f59a68ce.tar.gz
emacs-643df633ea8afafce661a20b54676691f59a68ce.zip
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.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."
223 (interactive "P") 223 (interactive "P")
224 (let ((count (prefix-numeric-value n))) 224 (let ((count (prefix-numeric-value n)))
225 (if (eshell-point-within-input-p (- (point) count)) 225 (if (eshell-point-within-input-p (- (point) count))
226 (delete-backward-char count n) 226 (delete-char (- count) n)
227 (beep)))) 227 (beep))))
228 228
229(defun eshell-delchar-or-maybe-eof (arg) 229(defun eshell-delchar-or-maybe-eof (arg)