[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw 15e188aa17 009/146: Fix some edge cases related to th
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw 15e188aa17 009/146: Fix some edge cases related to the minibuffer |
Date: |
Wed, 25 May 2022 02:59:38 -0400 (EDT) |
branch: elpa/swsw
commit 15e188aa17443534e5fa986904350976f9a0f78f
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
Fix some edge cases related to the minibuffer
* swsw.el (swsw-mode): Add hooks to run 'swsw--reset-and-update' when
entering and exiting the minibuffer.
---
swsw.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/swsw.el b/swsw.el
index a62babf301..d35271f21c 100644
--- a/swsw.el
+++ b/swsw.el
@@ -91,14 +91,18 @@ line update for all windows."
'swsw-mode
(default-value 'mode-line-format))))
(force-mode-line-update t)
- (add-hook 'window-configuration-change-hook #'swsw--reset-and-update))
+ (add-hook 'window-configuration-change-hook #'swsw--reset-and-update)
+ (add-hook 'minibuffer-setup-hook #'swsw--reset-and-update)
+ (add-hook 'minibuffer-exit-hook #'swsw--reset-and-update))
(setq swsw-window-list nil
swsw-id-chars swsw-id-chars-base)
(setq-default mode-line-format
(assq-delete-all
'swsw-mode
(default-value 'mode-line-format)))
- (remove-hook 'window-configuration-change-hook #'swsw--reset-and-update)))
+ (remove-hook 'window-configuration-change-hook #'swsw--reset-and-update)
+ (remove-hook 'minibuffer-setup-hook #'swsw--reset-and-update)
+ (remove-hook 'minibuffer-exit-hook #'swsw--reset-and-update)))
(defun swsw-select (&optional id)
"Select window by its ID."
- [nongnu] elpa/swsw b0b55f010c 041/146: ; Improve the docstrings for the reference display functions, (continued)
- [nongnu] elpa/swsw b0b55f010c 041/146: ; Improve the docstrings for the reference display functions, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5937f8bc6e 043/146: ; Update .gitignore to ignore some build artifacts, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw d5ab98b9db 044/146: ; Bump version to 1.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5e77d34dfa 054/146: ; Modify installation section of the README file and Info node, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cacd11a1b7 072/146: Prevent setting 'swsw-minibuffer-id' to a member of 'swsw-id-chars', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw dd65e7c8af 139/146: ; Update copyright years, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ac8efcbbd1 007/146: Assign a unique ID to an active minibuffer, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 08b56d124c 015/146: Add support for multi-character IDs, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 185861a2e9 010/146: Use a lighter for 'swsw-mode', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 6a9b3544c9 002/146: ; Fix 'git clone' example command in README file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 15e188aa17 009/146: Fix some edge cases related to the minibuffer,
ELPA Syncer <=
- [nongnu] elpa/swsw 0aef3311c6 014/146: ; Bump to version 0.3, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 9873ff1bd2 020/146: * swsw.el (swsw-select): Add before and after hooks., ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 4a7ea31b37 036/146: * swsw.el (swsw-mode): Bind 'C-x o' to 'swsw-select', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 63e295f599 025/146: Add a user option to customize the scope of window tracking, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 721d0208f7 026/146: Update the window list after deleting a frame, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 48db8fe39b 021/146: Add a reference implementation for a conditional display function, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 4c84ca310f 016/146: ; Update README to reflect recent changes, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw a816f208e9 005/146: Simplify the format of 'swsw-window-list', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f9a901c809 004/146: * swsw.el (swsw-id-chars-base): Remove erroneous quote, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 96809a6cae 019/146: Add the ability to change the way window IDs are displayed, ELPA Syncer, 2022/05/25