branch: elpa/evil
commit 5995f6f21f662484440ed67a28ce59e365feb9ad
Author: Konstantin Kharlamov <[email protected]>
Commit: Axel Forsman <[email protected]>
evil-commands: replace (backward-delete-char) with (delete-char)
Fixes a warning:
evil-commands.el:2125:15: Warning: ‘backward-delete-char’ is for
interactive use only; use ‘delete-char’ instead.
---
evil-commands.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/evil-commands.el b/evil-commands.el
index 3404805c21..62a6597228 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -2122,7 +2122,7 @@ the current line."
(interactive "<c>")
(if (and (eq 'self-insert-command last-command)
(eq ?0 (char-before)))
- (progn (backward-delete-char 1)
+ (progn (delete-char -1)
(evil-delete-indentation))
(evil-shift-left (line-beginning-position) (line-beginning-position 2)
count t)))