[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw e43021aa7e 112/146: * swsw.el (swsw-format-id): Use '
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw e43021aa7e 112/146: * swsw.el (swsw-format-id): Use 'format-spec' instead of 'format' |
Date: |
Wed, 25 May 2022 02:59:52 -0400 (EDT) |
branch: elpa/swsw
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."
- [nongnu] elpa/swsw 4ceacd0330 132/146: Indicate that some functions are for interactive use only, (continued)
- [nongnu] elpa/swsw 4ceacd0330 132/146: Indicate that some functions are for interactive use only, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw eba70478e0 065/146: Update window information after 'swsw-scope' is customized, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 51fcc776bd 081/146: ; Reorganize swsw.el, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2f7500636d 098/146: ; Add 'swsw' to .gitignore, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw db5cd237a7 125/146: ; Documentation improvements, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 6a70afa84f 097/146: ; Documentation fixes, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 384dae5d45 128/146: ; Move local mode declaration to the top of NEWS, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 220c023a2a 088/146: ; Update copyright years, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 73a241cf38 064/146: Ensure 'swsw-id-chars' is set correctly when customized, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 3261f323e9 077/146: ; Bump version to 1.1.2, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw e43021aa7e 112/146: * swsw.el (swsw-format-id): Use 'format-spec' instead of 'format',
ELPA Syncer <=
- [nongnu] elpa/swsw c864e6d524 144/146: ; Add change log for version 2.1.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw d7fe615c3f 049/146: ; Fix inconsistency between requirements in swsw.el and swsw-pkg.el, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 74124620af 048/146: ; Add brief usage information to the docstring of 'swsw-mode', ELPA Syncer, 2022/05/25
- [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