[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander b0b55f010c 041/170: ; Improve the docs
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander b0b55f010c 041/170: ; Improve the docstrings for the reference display functions |
Date: |
Wed, 28 Jun 2023 19:00:23 -0400 (EDT) |
branch: externals/window-commander
commit b0b55f010c4494427505bd33b4e867d7bd4eed02
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
; Improve the docstrings for the reference display functions
---
swsw.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/swsw.el b/swsw.el
index 26ce8c5061..fa808e3bb3 100644
--- a/swsw.el
+++ b/swsw.el
@@ -244,8 +244,8 @@ If set to `lighter', use the mode line lighter of
`swsw-mode'"
(force-mode-line-update t))
(defun swsw-mode-line-display-function (switch)
- "Display window IDs on the mode line if SWITCH is non-nil, and disable
-displaying window IDs on the mode line if SWITCH is nil.
+ "Display window IDs on the mode line if SWITCH isn't `nil', and disable
+displaying window IDs on the mode line if SWITCH is `nil'.
This display function shows the window IDs at the beginning of the mode line,
similarly to `ace-window-display-mode'.
@@ -255,9 +255,10 @@ This display function respects `swsw-id-format'."
(swsw--mode-line-hide)))
(defun swsw-mode-line-conditional-display-function (switch)
- "Display window IDs on the mode line if SWITCH is non-nil and a window
-selection is in progress, and disable displaying window IDs on the mode line
-if SWITCH is nil.
+ "Add a hook to `swsw-before-select-hook' which displays window IDs on the
+mode line and add a hook to `swsw-after-select-hook' which hides window IDs
+from the mode line if SWITCH isn't `nil', and remove those hooks if SWITCH is
+`nil'.
This display function shows the window IDs at the beginning of the mode line,
similarly to `ace-window-display-mode'.
- [elpa] externals/window-commander ddfed7b727 012/170: * swsw.el (swsw-mode): Add a sparse keymap., (continued)
- [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
- [elpa] externals/window-commander 9873ff1bd2 020/170: * swsw.el (swsw-select): Add before and after hooks., ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 63e295f599 025/170: Add a user option to customize the scope of window tracking, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 721d0208f7 026/170: Update the window list after deleting a frame, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 082e03382e 033/170: * swsw.el (swsw-select): Ensure 'swsw-after-select-hook' runs., ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 4a7ea31b37 036/170: * swsw.el (swsw-mode): Bind 'C-x o' to 'swsw-select', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8044341fdb 040/170: ; Update README to no longer suggest binding 'C-x o' in 'swsw-mode-map', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander b0b55f010c 041/170: ; Improve the docstrings for the reference display functions,
ELPA Syncer <=
- [elpa] externals/window-commander c0f5277538 045/170: ; Update the URL property of the package, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8fc0e7dfa7 046/170: ; Bump required emacs version to 26.1, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 40f7a25f82 047/170: ; Add license information to the title page of the Info node, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 83eb90586a 051/170: ; Alter comments and docstrings to comply with Emacs' conventions, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 08b56d124c 015/170: Add support for multi-character IDs, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 96809a6cae 019/170: Add the ability to change the way window IDs are displayed, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 4c84ca310f 016/170: ; Update README to reflect recent changes, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 48db8fe39b 021/170: Add a reference implementation for a conditional display function, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 8a8be23f1b 050/170: ; Include license information in created package archives, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ec011dc3b9 053/170: ; Fix inconsistency in URL between swsw.el and swsw-pkg.el, ELPA Syncer, 2023/06/28