[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander eba70478e0 065/170: Update window info
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander eba70478e0 065/170: Update window information after 'swsw-scope' is customized |
Date: |
Wed, 28 Jun 2023 19:00:27 -0400 (EDT) |
branch: externals/window-commander
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))
- [elpa] externals/window-commander 5e77d34dfa 054/170: ; Modify installation section of the README file and Info node, (continued)
- [elpa] externals/window-commander 5e77d34dfa 054/170: ; Modify installation section of the README file and Info node, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 185861a2e9 010/170: Use a lighter for 'swsw-mode', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander c08a9b1e58 024/170: ; Fix a docstring, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5addab5009 027/170: ; Fix installing swsw.el as a package, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 2d2edca2c3 029/170: ; Add 'Usage:' section to the commentary, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander a5b25e075f 032/170: Allow setting the scope to the selected frame, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 2002152fb7 023/170: ; Add .gitignore file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5937f8bc6e 043/170: ; Update .gitignore to ignore some build artifacts, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander d5ab98b9db 044/170: ; Bump version to 1.1, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 04ace20d03 063/170: ; Fix indentation and compact structure in some places, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander eba70478e0 065/170: Update window information after 'swsw-scope' is customized,
ELPA Syncer <=
- [elpa] externals/window-commander d195e574c0 066/170: ; Add latest changes to the news file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander cf70d1d22c 071/170: ; Make an if statement more readable, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander b3e00165f2 073/170: ; Add latest changes to the NEWS file and indicate that 1.1.2 is WIP, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 522bfb2da0 074/170: ; Add versioning scheme information to the NEWS file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 3261f323e9 077/170: ; Bump version to 1.1.2, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ccf0d780a5 078/170: Add support for custom window commands, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander b10ff98f3d 079/170: Add a window deletion command, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 51fcc776bd 081/170: ; Reorganize swsw.el, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 69dfbd08de 083/170: ; Bump version to 2.0, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8febd864f9 085/170: ; Remove old reference to 'swsw-minibuffer-id', ELPA Syncer, 2023/06/28