[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/window-commander ccab7194a7 133/170: Use 'custom-initia
From: |
ELPA Syncer |
Subject: |
[elpa] externals/window-commander ccab7194a7 133/170: Use 'custom-initialize-changed' to initialize some user options |
Date: |
Wed, 28 Jun 2023 19:00:32 -0400 (EDT) |
branch: externals/window-commander
commit ccab7194a7e3c4423dd8f5ad37ecec56d07728fe
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>
Use 'custom-initialize-changed' to initialize some user options
* swsw.el (swsw-id-chars, swsw-scope): Use the ':initialize' keyword
with the 'custom-initialize-changed' function.
---
swsw.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/swsw.el b/swsw.el
index 1be2f7e586..089ab3d451 100644
--- a/swsw.el
+++ b/swsw.el
@@ -85,13 +85,13 @@
This list should contain at least two characters."
:link '(info-link "(swsw)Customization")
:type '(repeat character)
+ :initialize #'custom-initialize-changed
:set (lambda (sym chars)
(unless (nth 1 chars)
(user-error
"`swsw-id-chars' should contain at least two characters"))
(set-default sym chars)
- (when (fboundp 'swsw--update)
- (swsw--update)))
+ (swsw--update))
:risky t
:package-version '(swsw . 1.0))
@@ -110,10 +110,10 @@ This list should contain at least two characters."
(const
:tag "All windows on the currently selected frame"
current))
+ :initialize #'custom-initialize-changed
:set (lambda (sym scope)
(set-default sym scope)
- (when (fboundp 'swsw--update)
- (swsw--update)))
+ (swsw--update))
:risky t
:package-version '(swsw . 1.1))
- [elpa] externals/window-commander e7646bf372 129/170: ; Bump to version 2.1, (continued)
- [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
- [elpa] externals/window-commander cec8c4aacc 110/170: ; Edit docstrings to conform completely to 'checkdoc', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ca14f1d0c5 107/170: Mark some variables as risky local variables, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ccab7194a7 133/170: Use 'custom-initialize-changed' to initialize some user options,
ELPA Syncer <=
- [elpa] externals/window-commander 92abfc5de4 119/170: ; Make some long lines short, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 841345d5cf 120/170: Define 'swsw-select' as a remapping of 'other-window', ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 910aea2c75 117/170: ; Declare all window commands should be called while 'swsw-mode' is active, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 61700ece84 135/170: ; Fix indentation in a few places, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander f08caf6f0c 137/170: ; Add build manifest, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander a60cbd24f1 152/170: * swsw.texi (Usage, Window commands): Add details and fix mistakes, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander dc7f6f264e 170/170: ; Rename files form wincom* to window-commander*, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 5faeffc163 153/170: ; Bump version to 2.2, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander 902030f0a1 164/170: Allow selection of minibuffer in defined win command by keyword arg, ELPA Syncer, 2023/06/28
- [elpa] externals/window-commander ed81d15671 157/170: Only define and bind 'swsw-selected-window-prefix' in Emacs 28+, ELPA Syncer, 2023/06/28