emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-goggles 788c73d505 041/225: Make lighter configurable


From: ELPA Syncer
Subject: [nongnu] elpa/evil-goggles 788c73d505 041/225: Make lighter configurable
Date: Wed, 12 Jan 2022 08:58:41 -0500 (EST)

branch: elpa/evil-goggles
commit 788c73d5056da23a23390576c49fabf63e50104f
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>

    Make lighter configurable
---
 README.md       | 10 +++++-----
 evil-goggles.el |  8 +++++++-
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 4d9e542b42..ef15001f32 100644
--- a/README.md
+++ b/README.md
@@ -49,7 +49,7 @@ Installation
 
 `(evil-goggles-mode)`
 
-## Supported edit actions
+## edit actions with hint
 
 - delete
 - yank
@@ -58,11 +58,11 @@ Installation
 - join
 - format (`gq` operator)
 
-### evil plugins
+### evil plugins with hint
 
-- ![evil-surround](https://github.com/timcharper/evil-surround)
-- ![evil-commentary](https://github.com/linktohack/evil-commentary)
-- 
![evil-ReplaceWithRegister](https://github.com/Dewdrops/evil-ReplaceWithRegister)
+- [evil-surround](https://github.com/timcharper/evil-surround)
+- [evil-commentary](https://github.com/linktohack/evil-commentary)
+- 
[evil-ReplaceWithRegister](https://github.com/Dewdrops/evil-ReplaceWithRegister)
 
 Customization
 -------------
diff --git a/evil-goggles.el b/evil-goggles.el
index 379d2b6cd3..9f17bc9c00 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -121,9 +121,15 @@ displayed while its running."
        (funcall-interactively ,fun ,@args)
      (funcall ,fun ,@args)))
 
+(defcustom evil-goggles-lighter
+  " EG"
+  ;; " (⌐■-■)"
+  "String used on the mode-line."
+  :type 'string)
+
 (define-minor-mode evil-goggles-mode
   "evil-goggles global minor mode."
-  :lighter " (⌐■-■)"
+  :lighter evil-goggles-lighter
   :global t
   (cond
    (evil-goggles-mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]