[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander e43021aa7e 112/170: * swsw.el (swsw-fo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander e43021aa7e 112/170: * swsw.el (swsw-format-id): Use 'format-spec' instead of 'format' |
Date: |
Wed, 28 Jun 2023 19:00:31 -0400 (EDT) |
branch: externals/window-commander
commit e43021aa7efb45d327b66d2f674563051ceea196
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>
* swsw.el (swsw-format-id): Use 'format-spec' instead of 'format'
---
swsw.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/swsw.el b/swsw.el
index a7b2fd0d8e..3ec4742d5b 100644
--- a/swsw.el
+++ b/swsw.el
@@ -219,8 +219,9 @@ If set to `lighter', use a mode line lighter."
(defun swsw-format-id (window)
"Format an ID string for WINDOW."
- (format swsw-id-format
- (apply #'string (window-parameter window 'swsw-id))))
+ (format-spec swsw-id-format
+ `((?s .
+ ,(apply #'string (window-parameter window 'swsw-id))))))
(defun swsw--mode-line-display ()
"Display window IDs at the beginning of the mode line."
- [elpa] externals/window-commander d46309a7a8 151/170: Rework display functions, (continued)
- [elpa] externals/window-commander d46309a7a8 151/170: Rework display functions, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 385c2f9602 166/170: ; Fix remaining wrong references to swsw, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander c4c77ddf34 161/170: ; Update introduction, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 366972729f 162/170: Improve user option error checking and updating, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander b1cf47530d 155/170: ; Small change and fix to README and commentary, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 447e7c18b9 165/170: ; Clean .gitignore, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 76b11d7b76 154/170: ; Add a space between the name of the manual and a section name, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander f1693950a9 169/170: ; Bump version to 3.0, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 93814ae925 158/170: ; Fix swsw-pkg.el generation on OpenBSD, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander a46fab04cd 168/170: Improve implementation of keywords in 'wincom-define-window-command', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander e43021aa7e 112/170: * swsw.el (swsw-format-id): Use 'format-spec' instead of 'format',
ELPA Syncer <=
- [elpa] externals/window-commander 6a70afa84f 097/170: ; Documentation fixes, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 435e462891 115/170: ; Fix the required Emacs version in swsw-pkg.el, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander e7646bf372 129/170: ; Bump to version 2.1, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander f0f65362d4 095/170: * swsw.el (swsw--set-id-chars): Use 'length' instead of 'nth', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 2f7500636d 098/170: ; Add 'swsw' to .gitignore, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander cb2cb1e5cb 131/170: ; Small code style change, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander cacd11a1b7 072/170: Prevent setting 'swsw-minibuffer-id' to a member of 'swsw-id-chars', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 48e4811965 089/170: ; Remove (incorrect) description of the 'make all' target in the Makefile, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 862d945bdb 101/170: ; Ignore Emacs' backup files, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 95fc96e8c1 092/170: ; Add a link to the Info node in the customization buffer, ELPA Syncer, 2023/06/28