[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw dbe46d5b86 070/146: * swsw.el (swsw-select): Don't se
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw dbe46d5b86 070/146: * swsw.el (swsw-select): Don't select the next window for non-existent IDs |
Date: |
Wed, 25 May 2022 02:59:47 -0400 (EDT) |
branch: elpa/swsw
commit dbe46d5b86b18ad73872a03fec65f260b9d2989d
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
* swsw.el (swsw-select): Don't select the next window for non-existent IDs
---
swsw.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/swsw.el b/swsw.el
index 7be57ed680..5a8d542245 100644
--- a/swsw.el
+++ b/swsw.el
@@ -221,7 +221,8 @@ This command is intended to be used only when ‘swsw-mode’
is enabled."
(swsw--read-id (swsw--get-id-length))
(run-hooks 'swsw-after-select-hook))))
(let ((window (cdr (assoc id swsw-window-list))))
- (select-window (if window window (next-window)))))
+ (select-window (if window window
+ (if id (selected-window) (next-window))))))
;;;###autoload
(define-minor-mode swsw-mode
- [nongnu] elpa/swsw def4d94e43 013/146: ; Update README to better reflect the current state of the package, (continued)
- [nongnu] elpa/swsw def4d94e43 013/146: ; Update README to better reflect the current state of the package, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 98c3bf944f 109/146: ; Improvement for swsw-mode's docstring, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c153d9a32c 087/146: ; Add version information to customizable variables, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw e774ead908 104/146: ; Update mail address, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 64c66d244b 062/146: * swsw.el (swsw-ids): Removed, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 95c25ee03c 022/146: ; Bump version to 1.0 and update README, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2002152fb7 023/146: ; Add .gitignore file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f0f65362d4 095/146: * swsw.el (swsw--set-id-chars): Use 'length' instead of 'nth', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw bd1e527d83 121/146: * swsw.el (swsw-select, swsw-delete): Respect 'swsw-scope', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cb2cb1e5cb 131/146: ; Small code style change, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw dbe46d5b86 070/146: * swsw.el (swsw-select): Don't select the next window for non-existent IDs,
ELPA Syncer <=
- [nongnu] elpa/swsw 435e462891 115/146: ; Fix the required Emacs version in swsw-pkg.el, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b2dcc60dab 136/146: ; Explain 'swsw--id-counter' more thoroughly, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 3f507e91c0 006/146: ; Fix docstring for 'swsw-mode', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 6695f8858e 034/146: ; Use '; ' for inline comment instead of '; ; ', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b5ebc9e08a 106/146: Use lambdas for ':set' functions, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 04ace20d03 063/146: ; Fix indentation and compact structure in some places, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5addab5009 027/146: ; Fix installing swsw.el as a package, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 95fc96e8c1 092/146: ; Add a link to the Info node in the customization buffer, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ebaa85abdd 031/146: ; Add a missing word to a comment, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 7d6968aa65 093/146: ; Bump version to 2.0.1, ELPA Syncer, 2022/05/25