From 3366a6e06bc615b55840a9ececc7e8b215b77c12 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sun, 28 Jan 2024 03:03:48 +0300 Subject: [PATCH] evil-commands: replace (backward-delete-char) with (delete-char) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 3404805c..62a65972 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -2122,7 +2122,7 @@ the current line." (interactive "") (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)))