[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw eba70478e0 065/146: Update window information after '
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw eba70478e0 065/146: Update window information after 'swsw-scope' is customized |
Date: |
Wed, 25 May 2022 02:59:45 -0400 (EDT) |
branch: elpa/swsw
commit eba70478e0c5fe2fea5502967c0bc9e529225e4f
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
Update window information after 'swsw-scope' is customized
* swsw.el (swsw--set-scope): New function which updates window
information after setting 'swsw-scope'.
(swsw-scope): Set 'set' function to 'swsw--set-scope'.
---
swsw.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/swsw.el b/swsw.el
index 65c52f0f52..e68c02e61d 100644
--- a/swsw.el
+++ b/swsw.el
@@ -84,6 +84,12 @@ This list should contain at least two characters."
"ID reserved for the minibuffer."
:type '(character))
+(defun swsw--set-scope (sym scope)
+ "Set the variable ‘swsw-scope’.
+Set SYM’s value to SCOPE and call ‘swsw-update’."
+ (set-default sym scope)
+ (swsw-update))
+
(defcustom swsw-scope t
"Scope of all window operations.
t means consider all windows on all existing frames.
@@ -96,7 +102,9 @@ t means consider all windows on all existing frames.
:tag "All windows on all visible and iconified frames." 0)
(const :tag "All windows on all visible frames" visible)
(const
- :tag "All window on the currently selected frame" current)))
+ :tag "All window on the currently selected frame"
+ current))
+ :set #'swsw--set-scope)
(eval-when-compile ; Avoid byte-compilation warning.
(defvar swsw-display-function))
- [nongnu] elpa/swsw 96809a6cae 019/146: Add the ability to change the way window IDs are displayed, (continued)
- [nongnu] elpa/swsw 96809a6cae 019/146: Add the ability to change the way window IDs are displayed, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c08a9b1e58 024/146: ; Fix a docstring, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b6277eb31f 037/146: ; Indicate that version 1.1 is still in development in the NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw a5b25e075f 032/146: Allow setting the scope to the selected frame, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 082e03382e 033/146: * swsw.el (swsw-select): Ensure 'swsw-after-select-hook' runs., ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 40f7a25f82 047/146: ; Add license information to the title page of the Info node, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 3a9848deac 042/146: Add an Info node for the package, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c2c579a3c9 061/146: Construct multi-character IDs without pre-computing all possible IDs, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 7d82ffeef4 076/146: ; Small modifications to the NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 4ceacd0330 132/146: Indicate that some functions are for interactive use only, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw eba70478e0 065/146: Update window information after 'swsw-scope' is customized,
ELPA Syncer <=
- [nongnu] elpa/swsw 51fcc776bd 081/146: ; Reorganize swsw.el, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2f7500636d 098/146: ; Add 'swsw' to .gitignore, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw db5cd237a7 125/146: ; Documentation improvements, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 6a70afa84f 097/146: ; Documentation fixes, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 384dae5d45 128/146: ; Move local mode declaration to the top of NEWS, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 220c023a2a 088/146: ; Update copyright years, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 73a241cf38 064/146: Ensure 'swsw-id-chars' is set correctly when customized, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 3261f323e9 077/146: ; Bump version to 1.1.2, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw e43021aa7e 112/146: * swsw.el (swsw-format-id): Use 'format-spec' instead of 'format', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c864e6d524 144/146: ; Add change log for version 2.1.1, ELPA Syncer, 2022/05/25