branch: externals/window-commander
commit 910aea2c75735e63f5b513677cfbc4583768e028
Author: Daniel Semyonov <[email protected]>
Commit: Daniel Semyonov <[email protected]>
; Declare all window commands should be called while 'swsw-mode' is active
---
swsw.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/swsw.el b/swsw.el
index 4d2c06f3e1..2a6d095228 100644
--- a/swsw.el
+++ b/swsw.el
@@ -283,6 +283,7 @@ Otherwise, window selection allows either choosing a window
by its ID
\(switching to it), or using a window manipulation command.
This command is intended to be used only when simple window switching
is enabled."
+ (declare (modes swsw-mode))
(interactive)
(if (< swsw-window-count 3)
(select-window (next-window))
@@ -292,6 +293,7 @@ is enabled."
"Select the active minibuffer window (if it exists).
This command is intended to be used only when simple window switching
is enabled."
+ (declare (modes swsw-mode))
(interactive)
(let ((window (active-minibuffer-window)))
(if window (select-window window)
@@ -305,6 +307,7 @@ Otherwise, window deletion allows either choosing a window
by its ID
\(deleting it), or using a window manipulation command.
This command is intended to be used only when simple window switching
is enabled."
+ (declare (modes swsw-mode))
(interactive)
(if (< swsw-window-count 3)
(let ((window (next-window)))