emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swsw 910aea2c75 117/146: ; Declare all window commands sho


From: ELPA Syncer
Subject: [nongnu] elpa/swsw 910aea2c75 117/146: ; Declare all window commands should be called while 'swsw-mode' is active
Date: Wed, 25 May 2022 02:59:53 -0400 (EDT)

branch: elpa/swsw
commit 910aea2c75735e63f5b513677cfbc4583768e028
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>

    ; 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]