[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander 5d1ea190ab 011/170: Only display a mod
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander 5d1ea190ab 011/170: Only display a mode line lighter for tracked windows |
Date: |
Wed, 28 Jun 2023 19:00:20 -0400 (EDT) |
branch: externals/window-commander
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)
- [elpa] branch externals/window-commander created (now dc7f6f264e), ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander f9a901c809 004/170: * swsw.el (swsw-id-chars-base): Remove erroneous quote, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 15e188aa17 009/170: Fix some edge cases related to the minibuffer, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 24720bfbe7 008/170: ; Bump version to 0.2, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 6a9b3544c9 002/170: ; Fix 'git clone' example command in README file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander bc734b9937 003/170: Use 'read-char' instead of 'read-char-from-minibuffer' to read IDs, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander a816f208e9 005/170: Simplify the format of 'swsw-window-list', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5d1ea190ab 011/170: Only display a mode line lighter for tracked windows,
ELPA Syncer <=
- [elpa] externals/window-commander ba9e82c95f 001/170: initial commit, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 3f507e91c0 006/170: ; Fix docstring for 'swsw-mode', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ac8efcbbd1 007/170: Assign a unique ID to an active minibuffer, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 024502f51f 017/170: * swsw.el (swsw-mode): Don't call 'force-mode-line-update', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ddfed7b727 012/170: * swsw.el (swsw-mode): Add a sparse keymap., ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 37ad725b1e 018/170: ; Update comment referencing single character IDs, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander def4d94e43 013/170: ; Update README to better reflect the current state of the package, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 0aef3311c6 014/170: ; Bump to version 0.3, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 9873ff1bd2 020/170: * swsw.el (swsw-select): Add before and after hooks., ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 63e295f599 025/170: Add a user option to customize the scope of window tracking, ELPA Syncer, 2023/06/28