[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape 7e0b99467f 061/133: Use `self-insert-command`
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-escape 7e0b99467f 061/133: Use `self-insert-command` instead of `insert` |
Date: |
Wed, 3 Jan 2024 21:59:53 -0500 (EST) |
branch: elpa/evil-escape
commit 7e0b99467f03e2153fb04a8346a718bca0e5d42f
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
Use `self-insert-command` instead of `insert`
Fixes #28
---
evil-escape.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/evil-escape.el b/evil-escape.el
index 30d9d80153..0b1e2767bb 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -314,9 +314,9 @@ with a key sequence."
(kbd first-key) evil-escape-iedit-state-shadowed-func)
(define-key evil-iedit-insert-state-map (kbd first-key) nil))))
-(defun evil-escape--default-insert-func (key)
- "Insert KEY in current buffer if not read only."
- (when (not buffer-read-only) (insert key)))
+(defun evil-escape--default-insert-func (_)
+ "Insert typed char in current buffer if not read only."
+ (when (not buffer-read-only) (self-insert-command 1)))
(defun evil-escape--insert-state-insert-func (key)
"Take care of term-mode."
- [nongnu] elpa/evil-escape 8f5b4ccc81 094/133: Revert insert/delete functions, (continued)
- [nongnu] elpa/evil-escape 8f5b4ccc81 094/133: Revert insert/delete functions, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 9257ed0427 130/133: Don't redisplay and font locking while doing evil-escape, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 80029c6892 108/133: Add support for evil-magit, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 04b6e9c0cf 126/133: Depend on latest Evil release, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1c8fc8b46b 129/133: Reindent code that font-locked highlighted as problematic, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 65756d4a8d 077/133: Make it possible to assign a key binding to evil-escape, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 8f8b58db5e 121/133: Fix compiler warnings, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape bdb1e69971 133/133: Correct treemacs integration (#5), ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape fd1f59d4ab 131/133: Add non-matching events to unread-post-input-method-events, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape a04305aa74 028/133: typos in comments, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7e0b99467f 061/133: Use `self-insert-command` instead of `insert`,
ELPA Syncer <=
- [nongnu] elpa/evil-escape 5a8704e6a6 066/133: Add missing docstring, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 509e39d3a0 088/133: Declare function for compiler, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 47d2031f62 046/133: Fix `f is undefined`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 8012e3d21f 054/133: Correctly escape in evil replace state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 8af706a87c 013/133: Fixes #4 evil-escape confuse evil's minibuffer echo system, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape b33a5c722d 012/133: Fixes #5 fd-escaping makes 'df<char>' motion work, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 4779435d94 001/133: Initial commit, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0fbedcbd86 016/133: Version 1.5.0, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape ca4c6f6065 017/133: Correctly restore bindings when the mode is disabled, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 3e3920f524 008/133: Version 1.01, ELPA Syncer, 2024/01/03