[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 643df63 2/2: Avoid byte-compiler warning in em-re
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 643df63 2/2: Avoid byte-compiler warning in em-rebind.el |
Date: |
Fri, 12 Oct 2018 04:40:18 -0400 (EDT) |
branch: emacs-26
commit 643df633ea8afafce661a20b54676691f59a68ce
Author: Alex Branham <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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)
---
lisp/eshell/em-rebind.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/eshell/em-rebind.el b/lisp/eshell/em-rebind.el
index e6f04b6..064dcc7 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)