[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape 1d09324c72 011/133: Fix byte-compilation and d
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-escape 1d09324c72 011/133: Fix byte-compilation and defcustom |
Date: |
Wed, 3 Jan 2024 21:59:48 -0500 (EST) |
branch: elpa/evil-escape
commit 1d09324c726b967c28145afa8a723ccfaeb12e25
Author: syl20bnr <sylvain.benner@gmail.com>
Commit: syl20bnr <sylvain.benner@gmail.com>
Fix byte-compilation and defcustom
---
README.md | 8 +++-----
evil-escape.el | 20 +++++++++++++-------
2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 16be607a22..4a1cb9780a 100644
--- a/README.md
+++ b/README.md
@@ -40,11 +40,9 @@ To toggle the `evil-escape` mode globally:
## Customization
-Open the customization group buffer:
+The key sequence can be customized with the variable
`evil-escape-key-sequence`.
- M-x customize-group RET evil-escape RET
-
-There you can change the key sequence to your desire.
-The default value is `fd`.
+**Note:** The variable `evil-escape-key-sequence` must be set before requiring
+`evil-escape`.
[MELPA]: http://melpa.org/
diff --git a/evil-escape.el b/evil-escape.el
index d41ce1232b..0f565c0b86 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -5,7 +5,7 @@
;;;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; Keywords: convenience editing evil
;; Created: 22 Oct 2014
-;; Version: 1.01
+;; Version: 1.02
;; Package-Requires: ((emacs "24") (evil "1.0.9") (key-chord "0.6"))
;; URL: https://github.com/syl20bnr/evil-escape
@@ -27,6 +27,8 @@
;;; Commentary:
;; Press `fd` quickly to:
+;; ----------------------
+
;; - escape from all evil states to normal state
;; - escape from evil-lisp-state to normal state
;; - abort evil ex command
@@ -37,8 +39,12 @@
;; - hide neotree buffer
;; And more to come !
+;; Configuration:
+;; --------------
+
;; The key sequence can be customized with the variable
-;; `evil-escape-key-sequence`
+;; `evil-escape-key-sequence'
+;; It must be set before requiring evil-escape.
;; More information in the readme of the repository:
;; https://github.com/syl20bnr/evil-escape
@@ -53,11 +59,11 @@
:prefix "evil-escape-"
:group 'evil)
-;;;###autoload
-(defcustom evil-escape-key-sequence (kbd "fd")
- "Two keys sequence to escape from insert state."
- :type 'key-sequence
- :group 'evil-escape)
+(eval-and-compile
+ (defcustom evil-escape-key-sequence (kbd "fd")
+ "Two keys sequence to escape from insert state."
+ :type 'key-sequence
+ :group 'evil-escape))
;;;###autoload
(define-minor-mode evil-escape-mode
- [nongnu] elpa/evil-escape 8af69d73f8 020/133: Fixes #10 deleting with `df)` does not include `)`, (continued)
- [nongnu] elpa/evil-escape 8af69d73f8 020/133: Fixes #10 deleting with `df)` does not include `)`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 9dd9cccf32 027/133: Add pass through functionality, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0da35398ed 058/133: Fix support for operators, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0346740ff1 031/133: Correctly handle the evil function properties, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 37c227e4df 018/133: Version 1.5.1, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 05709479ed 010/133: Add badge for melpa stable, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1fe3759ab4 014/133: Fix 'commandp is nil` when search for `f` in isearch, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 5da641b6e6 019/133: Quit ert buffers, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape fe21e8f256 004/133: Fix error in readme, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 07c6c1b4da 007/133: Fixes #2 Symbol's value as variable is void: isearch-abort, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1d09324c72 011/133: Fix byte-compilation and defcustom,
ELPA Syncer <=
- [nongnu] elpa/evil-escape 7aa2bb2155 024/133: Suppress key-chord dependency (v2.0), ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 2e7bf1e62e 021/133: Support undo-tree, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape e0a0c9a9ee 023/133: Add support for paradox and gist-list menu, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0b62cb6637 025/133: Fix multiple inserted occurrences of `f` in isearch and ex-command context, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 6cb4fa408a 026/133: Add evil-iedit-state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 6d46b81bbc 030/133: Fix regression for evil-iedit-state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 3637f13210 055/133: Correctly handle iedit-state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape da5498d25e 035/133: Correctly restore evil-lisp-state shadowed function by evil-escape, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape cf3e18673d 051/133: Undefine mapping on first key when evil-escape is disabled, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape cbfc43840f 063/133: Ensure that map is defined when undefining keys, ELPA Syncer, 2024/01/03