[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-escape f4e9116bfb 117/133: Add a separate var for con
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-escape f4e9116bfb 117/133: Add a separate var for controlling mode lighter |
Date: |
Wed, 3 Jan 2024 21:59:58 -0500 (EST) |
branch: elpa/evil-escape
commit f4e9116bfbaac8c9d210c17ad488e0982291245f
Author: Anler Hernández Peral <anler@anler.me>
Commit: Sylvain Benner <sylvain.benner@gmail.com>
Add a separate var for controlling mode lighter
Define the `evil-escape-lighter` custom var so users of the mode are
able to customize the lighter for the mode which is by default the
value defined in `evil-escape-key-sequence`.
---
evil-escape.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/evil-escape.el b/evil-escape.el
index b6c870d7b1..7e3bb79061 100644
--- a/evil-escape.el
+++ b/evil-escape.el
@@ -1,4 +1,4 @@
-;;; evil-escape.el --- Escape from anything with a customizable key sequence
+ ;;; evil-escape.el --- Escape from anything with a customizable key sequence
;; Copyright (C) 2014-2015 syl20bnr
;;
@@ -102,6 +102,11 @@
:type 'key-sequence
:group 'evil-escape)
+(defcustom evil-escape-lighter '(concat " " evil-escape-key-sequence)
+ "The lighter for the evil escape mode."
+ :type 'sexp
+ :group 'evil-escape)
+
(defcustom evil-escape-delay 0.1
"Max time delay between two key presses."
:type 'number
@@ -141,7 +146,7 @@ key first."
(define-minor-mode evil-escape-mode
"Buffer-local minor mode to escape insert state and everything else
with a key sequence."
- :lighter (:eval (concat " " evil-escape-key-sequence))
+ :lighter (:eval evil-escape-lighter)
:group 'evil
:global t
(if evil-escape-mode
- [nongnu] elpa/evil-escape 526de681d3 047/133: Fix multiple `isearch-abort`, (continued)
- [nongnu] elpa/evil-escape 526de681d3 047/133: Fix multiple `isearch-abort`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 64c65a4e96 053/133: Remove company support, bump version to 2.21, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0326241bcd 048/133: Bump to version 2.18, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 1271af99ac 064/133: Rewrite of evil-escape (v3.0), ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape e297938f32 050/133: Remove message when the mode is enabled, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7fd1902fac 033/133: Fix regression in visual block, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 0e95e20437 040/133: Prevent infinite recursion if evil-escape.el is evaluated twice, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 7600904462 045/133: Fix double insert of first key in some cases, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 32a6c6c31e 102/133: Add support for compilation buffers, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 739871a837 124/133: Enforce use of spaces for indentation, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape f4e9116bfb 117/133: Add a separate var for controlling mode lighter,
ELPA Syncer <=
- [nongnu] elpa/evil-escape c3592a774e 123/133: Add minor introduction to the library commentary., ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape efe9a3a3d1 071/133: Simplify even more evil-escape-pre-command-hook, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape c2946d8f4f 120/133: Use lexical-binding, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape a7714e61b2 112/133: set `this-original-command`, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 02aee7f613 079/133: New variable evil-escape-unordered-key-sequence, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 25920fb2f4 114/133: Bump version to 3.15, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 8683314f68 127/133: Depend on Emacs 26 or later, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape b4d44fc501 111/133: Bump version to 3.14, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape 9c8799446f 080/133: Add support for spacemacs hybrid-state and fix emacs state, ELPA Syncer, 2024/01/03
- [nongnu] elpa/evil-escape b159b4307e 074/133: Allow evil-escape in motion state, ELPA Syncer, 2024/01/03