[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape 7966f4b1be 084/133: Add cl-lib dependency and
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/evil-escape 7966f4b1be 084/133: Add cl-lib dependency and provide a initial value to reduce. |
|
Date: |
Wed, 3 Jan 2024 21:59:55 -0500 (EST) |
branch: elpa/evil-escape
commit 7966f4b1be205e6e782c6a23b1e248774332ad4c
Author: sbenner <sylvain.benner@ubisoft.com>
Commit: sbenner <sylvain.benner@ubisoft.com>
Add cl-lib dependency and provide a initial value to reduce.
Fixes #42 and #43
---
evil-escape.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/evil-escape.el b/evil-escape.el
index 1e1ac1b9d4..e1c3871cca 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -6,7 +6,7 @@
;; Keywords: convenience editing evil
;; Created: 22 Oct 2014
;; Version: 3.09
-;; Package-Requires: ((emacs "24") (evil "1.0.9"))
+;; Package-Requires: ((emacs "24") (evil "1.0.9") (cl-lib "0.5"))
;; URL: https://github.com/syl20bnr/evil-escape
;; This file is not part of GNU Emacs.
@@ -81,6 +81,7 @@
;;; Code:
(require 'evil)
+(require 'cl-lib)
(defgroup evil-escape nil
"Key sequence to escape insert state and everything else."
@@ -182,8 +183,9 @@ with a key sequence."
(or (equal (this-command-keys) (evil-escape--first-key))
(and evil-escape-unordered-key-sequence
(equal (this-command-keys) (evil-escape--second-key))))
- (not (reduce (lambda (x y) (or x y))
- (mapcar 'funcall evil-escape-inhibit-functions)))))
+ (not (cl-reduce (lambda (x y) (or x y))
+ (mapcar 'funcall evil-escape-inhibit-functions)
+ :initial-value nil))))
(defun evil-escape--escape-normal-state ()
"Escape from normal state."
- [nongnu] elpa/evil-escape befb07d03c 101/133: Bump version to 3.12, (continued)
- [nongnu] elpa/evil-escape befb07d03c 101/133: Bump version to 3.12, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape b548e84505 118/133: remove leading space in package header, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape fd633a9ffb 093/133: Attempt 2 at fixing evil-repeat, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 3c335a5709 119/133: Bump version to 3.16, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape c23a84de99 085/133: Handle error in evil-escape-pre-command-hook, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 84e3166473 105/133: Add support for excluding evil states, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape aa3e64af5d 097/133: Add support for ibuffer, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 32fec964f8 090/133: Fix evil-repeat problem, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape d7f9940227 078/133: Fallback to evil-escape--escape-normal-state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 88b2cfbb38 128/133: Update url in commentary, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7966f4b1be 084/133: Add cl-lib dependency and provide a initial value to reduce.,
ELPA Syncer <=
- [nongnu] elpa/evil-escape d53c8930e8 091/133: Improve evil-repeat-info support but not quite right, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape c80afe7335 099/133: Handle minibuffer in emacs-state as well, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 533e8a5649 095/133: Update README and bump to 3.10, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 5e7a4c873e 107/133: Add support for nil evil-escape-key-sequence, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 58ec625a94 104/133: custom handling for deft causes duplicate inserts, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 73b30bfd91 116/133: Use string-match-p over string-match, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape ddb2348b40 073/133: Bump version to 3.02, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape ce6982f7ce 125/133: Fix indentation, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f71394b38a 132/133: Add support for treemacs (#4), ELPA Syncer, 2024/01/03