[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw 5d1ea190ab 011/146: Only display a mode line lighter
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw 5d1ea190ab 011/146: Only display a mode line lighter for tracked windows |
Date: |
Wed, 25 May 2022 02:59:38 -0400 (EDT) |
branch: elpa/swsw
commit 5d1ea190abdc7093a8bfb20ca98b06cb2e3ffe8e
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
Only display a mode line lighter for tracked windows
* swsw.el (swsw-mode): Add a check to disable displaying a mode line
lighter for windows which don't appear in 'swsw-window-list'.
---
swsw.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/swsw.el b/swsw.el
index 769f3a06cf..38d6683a26 100644
--- a/swsw.el
+++ b/swsw.el
@@ -85,8 +85,9 @@ line update for all windows."
(define-minor-mode swsw-mode
"Minor mode for selecting windows by their ID."
:global t
- :lighter (:eval (format swsw-mode-lighter-format
- (window-parameter (selected-window) 'swsw-id)))
+ :lighter (:eval (when (rassq (selected-window) swsw-window-list)
+ (format swsw-mode-lighter-format
+ (window-parameter (selected-window) 'swsw-id))))
(if swsw-mode
(progn
(walk-windows #'swsw-update nil t)
- [nongnu] elpa/swsw 1411a6314c 116/146: * swsw.el (swsw--update-window): Use 'when-let' instead of 'let' and 'when', (continued)
- [nongnu] elpa/swsw 1411a6314c 116/146: * swsw.el (swsw--update-window): Use 'when-let' instead of 'let' and 'when', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 53321ab4f2 069/146: ; Correct swsw-select's docstring, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 85d9c690b1 102/146: ; Add key binding to swsw-mode's docstring, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cf70d1d22c 071/146: ; Make an if statement more readable, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 7db205a145 105/146: ; Change all instances of "‘" and "’" to "`" and "'" respectively, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8a9686e0fe 111/146: ; Change required Emacs version according to package-lint, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8febd864f9 085/146: ; Remove old reference to 'swsw-minibuffer-id', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 03747300a3 082/146: ; Add missing 'Window commands' entry to the detailed node listing, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ff30079d41 075/146: ; Remove trailing period in a tag string of 'swsw-scope', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2b43f66c82 145/146: ; Use 'kbd' instead of vector notation for 'define-key' example, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5d1ea190ab 011/146: Only display a mode line lighter for tracked windows,
ELPA Syncer <=
- [nongnu] elpa/swsw bbe31e347c 146/146: ; Bump version to 2.1.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b10ff98f3d 079/146: Add a window deletion command, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ddfed7b727 012/146: * swsw.el (swsw-mode): Add a sparse keymap., ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8b74678bcf 028/146: * swsw.el (swsw-display-function): Avoid byte compilation warning, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2d2edca2c3 029/146: ; Add 'Usage:' section to the commentary, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 54ca1baa14 030/146: ; Restructure README and commentary, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c0f5277538 045/146: ; Update the URL property of the package, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b3f6cee6af 068/146: ; Unify information in the README and commentary, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ca14f1d0c5 107/146: Mark some variables as risky local variables, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 57e9986858 141/146: ; Small documentation fixes, ELPA Syncer, 2022/05/25