projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0eca49
)
Avoid byte-compiler warning in em-rebind.el
author
Alex Branham
<alex.branham@gmail.com>
Fri, 5 Oct 2018 14:07:13 +0000
(09:07 -0500)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 12 Oct 2018 08:39:02 +0000
(11:39 +0300)
* lisp/eshell/em-rebind.el (eshell-delete-backward-char): Use
'delete-char' instead of delete-backward-char. (Bug#32945)
lisp/eshell/em-rebind.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/em-rebind.el
b/lisp/eshell/em-rebind.el
index e6f04b68e0c2d61497d8bc2f791a70a527fb00a1..064dcc762d2ab4c048c890bab1cb5c457ebdf0e9 100644
(file)
--- 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)