[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander 082e03382e 033/170: * swsw.el (swsw-se
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander 082e03382e 033/170: * swsw.el (swsw-select): Ensure 'swsw-after-select-hook' runs. |
Date: |
Wed, 28 Jun 2023 19:00:23 -0400 (EDT) |
branch: externals/window-commander
commit 082e03382e53ce83357520321cc6fcd47793223b
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
* swsw.el (swsw-select): Ensure 'swsw-after-select-hook' runs.
---
swsw.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/swsw.el b/swsw.el
index a061d60985..b60604e3c7 100644
--- a/swsw.el
+++ b/swsw.el
@@ -218,12 +218,13 @@ If set to `lighter', use the mode line lighter of
`swsw-mode'"
;; If there are less than 3 windows, don't get an ID.
(interactive (unless (< (length swsw-window-list) 3)
(run-hooks 'swsw-before-select-hook)
- (swsw--read-id (swsw--get-id-length))))
+ (unwind-protect
+ (swsw--read-id (swsw--get-id-length))
+ (run-hooks 'swsw-after-select-hook))))
(if id
(let ((window (cdr (assoc id swsw-window-list))))
(when window
- (select-window window)
- (run-hooks 'swsw-after-select-hook)))
+ (select-window window)))
(other-window 1)))
;;;; Display functions:
- [elpa] externals/window-commander 3f507e91c0 006/170: ; Fix docstring for 'swsw-mode', (continued)
- [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
- [elpa] externals/window-commander 721d0208f7 026/170: Update the window list after deleting a frame, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 082e03382e 033/170: * swsw.el (swsw-select): Ensure 'swsw-after-select-hook' runs.,
ELPA Syncer <=
- [elpa] externals/window-commander 4a7ea31b37 036/170: * swsw.el (swsw-mode): Bind 'C-x o' to 'swsw-select', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8044341fdb 040/170: ; Update README to no longer suggest binding 'C-x o' in 'swsw-mode-map', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander b0b55f010c 041/170: ; Improve the docstrings for the reference display functions, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander c0f5277538 045/170: ; Update the URL property of the package, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8fc0e7dfa7 046/170: ; Bump required emacs version to 26.1, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 40f7a25f82 047/170: ; Add license information to the title page of the Info node, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 83eb90586a 051/170: ; Alter comments and docstrings to comply with Emacs' conventions, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 08b56d124c 015/170: Add support for multi-character IDs, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 96809a6cae 019/170: Add the ability to change the way window IDs are displayed, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 4c84ca310f 016/170: ; Update README to reflect recent changes, ELPA Syncer, 2023/06/28