[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw bc734b9937 003/146: Use 'read-char' instead of 'read-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw bc734b9937 003/146: Use 'read-char' instead of 'read-char-from-minibuffer' to read IDs |
Date: |
Wed, 25 May 2022 02:59:36 -0400 (EDT) |
branch: elpa/swsw
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
- [nongnu] elpa/swsw 83eb90586a 051/146: ; Alter comments and docstrings to comply with Emacs' conventions, (continued)
- [nongnu] elpa/swsw 83eb90586a 051/146: ; Alter comments and docstrings to comply with Emacs' conventions, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8fc0e7dfa7 046/146: ; Bump required emacs version to 26.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 095091cf33 057/146: Handle cases where there are less than three tracked windows better, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cacbe44c08 058/146: ; Remove unnecessary ':group' keywords from 'defcustom' calls, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 0b67d7bc00 056/146: * swsw.el (swsw-display-function): Define early only when byte-compiling, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ec011dc3b9 053/146: ; Fix inconsistency in URL between swsw.el and swsw-pkg.el, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 841345d5cf 120/146: Define 'swsw-select' as a remapping of 'other-window', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw e7646bf372 129/146: ; Bump to version 2.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw d195e574c0 066/146: ; Add latest changes to the news file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5b0f4657cc 052/146: ; Simplify build process, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw bc734b9937 003/146: Use 'read-char' instead of 'read-char-from-minibuffer' to read IDs,
ELPA Syncer <=
- [nongnu] elpa/swsw 37ad725b1e 018/146: ; Update comment referencing single character IDs, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b5b05358a3 035/146: ; Add a news file containing a detailed change log, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8a8be23f1b 050/146: ; Include license information in created package archives, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 4b308b978a 113/146: ; Move a comment slightly, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw a0c339fbb4 118/146: ; Small documentation change, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 1c19d22100 108/146: ; Add links to relevant part of the manual to user options, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 444873d9bd 114/146: Fix names of some internal and some external functions, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 13c92db0de 138/146: ; Fix build manifest, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 57a040f4be 140/146: ; Indicate the mailing list is the "maintainer" of the package, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 0d7bf97dbb 142/146: ; Prepare for NonGNU ELPA inclusion, ELPA Syncer, 2022/05/25