[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander bc734b9937 003/170: Use 'read-char' in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander bc734b9937 003/170: Use 'read-char' instead of 'read-char-from-minibuffer' to read IDs |
Date: |
Wed, 28 Jun 2023 19:00:09 -0400 (EDT) |
branch: externals/window-commander
commit bc734b993752da5a358539fd42ddb7b61484cda6
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
Use 'read-char' instead of 'read-char-from-minibuffer' to read IDs
* swsw.el (swsw-select): Use 'read-char' instead of
'read-char-from-minibuffer'.
(swsw-id-prompt): Removed as it is no longer used.
---
swsw.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/swsw.el b/swsw.el
index 3c6e280529..817101b697 100644
--- a/swsw.el
+++ b/swsw.el
@@ -40,11 +40,6 @@
:group 'swsw
:type '(repeat 'character))
-(defcustom swsw-id-prompt "Window: "
- "Prompt to use when switching windows."
- :group 'swsw
- :type '(string))
-
;;;; Simple window switching minor mode:
(defvar swsw-id-chars swsw-id-chars-base
@@ -104,7 +99,7 @@ line update for all windows."
(defun swsw-select (&optional id)
"Select window by its ID."
(interactive (unless (< (length swsw-window-list) 3)
- (list (read-char-from-minibuffer (format swsw-id-prompt)))))
+ (list (read-char))))
(if id
(let (window)
(when (setq
- [elpa] branch externals/window-commander created (now dc7f6f264e), ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander f9a901c809 004/170: * swsw.el (swsw-id-chars-base): Remove erroneous quote, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 15e188aa17 009/170: Fix some edge cases related to the minibuffer, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 24720bfbe7 008/170: ; Bump version to 0.2, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 6a9b3544c9 002/170: ; Fix 'git clone' example command in README file, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander bc734b9937 003/170: Use 'read-char' instead of 'read-char-from-minibuffer' to read IDs,
ELPA Syncer <=
- [elpa] externals/window-commander a816f208e9 005/170: Simplify the format of 'swsw-window-list', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5d1ea190ab 011/170: Only display a mode line lighter for tracked windows, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ba9e82c95f 001/170: initial commit, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 3f507e91c0 006/170: ; Fix docstring for 'swsw-mode', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ac8efcbbd1 007/170: Assign a unique ID to an active minibuffer, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 024502f51f 017/170: * swsw.el (swsw-mode): Don't call 'force-mode-line-update', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ddfed7b727 012/170: * swsw.el (swsw-mode): Add a sparse keymap., ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 37ad725b1e 018/170: ; Update comment referencing single character IDs, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander def4d94e43 013/170: ; Update README to better reflect the current state of the package, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 0aef3311c6 014/170: ; Bump to version 0.3, ELPA Syncer, 2023/06/28