mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 00:30:17 -08:00
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:
parent
d0eca49e3c
commit
643df633ea
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ lock it at that."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let ((count (prefix-numeric-value n)))
|
(let ((count (prefix-numeric-value n)))
|
||||||
(if (eshell-point-within-input-p (- (point) count))
|
(if (eshell-point-within-input-p (- (point) count))
|
||||||
(delete-backward-char count n)
|
(delete-char (- count) n)
|
||||||
(beep))))
|
(beep))))
|
||||||
|
|
||||||
(defun eshell-delchar-or-maybe-eof (arg)
|
(defun eshell-delchar-or-maybe-eof (arg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue