[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape 8f8b58db5e 121/133: Fix compiler warnings
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/evil-escape 8f8b58db5e 121/133: Fix compiler warnings |
|
Date: |
Wed, 3 Jan 2024 21:59:59 -0500 (EST) |
branch: elpa/evil-escape
commit 8f8b58db5e23ef0b4f5e42bf7e814bfb58669a9c
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Fix compiler warnings
---
evil-escape.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/evil-escape.el b/evil-escape.el
index 0434ab2b57..257e4b2f97 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -203,9 +203,11 @@ with a key sequence."
(t (setq unread-command-events
(append unread-command-events (list evt)))))))))
-(defadvice evil-repeat (around evil-escape-repeat-info activate)
+(defun evil-escape--evil-repeat (fn &rest args)
+ "Bind `evil-escape-inhibit' to t."
(let ((evil-escape-inhibit t))
- ad-do-it))
+ (apply fn args)))
+(advice-add 'evil-repeat :around #'evil-escape--evil-repeat)
(defun evil-escape-p ()
"Return non-nil if evil-escape can run."
@@ -300,7 +302,7 @@ with a key sequence."
(`normal
(when (window-minibuffer-p) (evil-escape--insert-func) t))
(`iedit-insert (evil-escape--insert-func) t))
- ('error nil)))
+ (error nil)))
(defun evil-escape--insert-2 ()
"Insert character while taking into account mode specificites."
- [nongnu] elpa/evil-escape fccebfe601 098/133: Add support for emoji-cheat-sheet-plus-buffer, (continued)
- [nongnu] elpa/evil-escape fccebfe601 098/133: Add support for emoji-cheat-sheet-plus-buffer, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 09e0622e16 109/133: Add support for image-mode, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape af1a6eb532 110/133: Fix display flickering when using 'global-hl-line-mode', ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 9328f25199 122/133: Fix docstrings, ELPA Syncer, 2024/01/03
- [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 <=
- [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, 2024/01/03
- [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