emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil 5995f6f21f: evil-commands: replace (backward-delete-c


From: ELPA Syncer
Subject: [nongnu] elpa/evil 5995f6f21f: evil-commands: replace (backward-delete-char) with (delete-char)
Date: Sun, 28 Jan 2024 06:59:29 -0500 (EST)

branch: elpa/evil
commit 5995f6f21f662484440ed67a28ce59e365feb9ad
Author: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Commit: Axel Forsman <axel@axelf.se>

    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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]