[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw f66c043abc 067/146: Only call 'swsw-update' automatic
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw f66c043abc 067/146: Only call 'swsw-update' automatically when it's bound |
Date: |
Wed, 25 May 2022 02:59:45 -0400 (EDT) |
branch: elpa/swsw
commit f66c043abcbed33f4270ac4511cbd78f2efd5509
Author: Daniel Semyonov <cmstr@dsemy.com>
Commit: Daniel Semyonov <cmstr@dsemy.com>
Only call 'swsw-update' automatically when it's bound
* swsw.el (swsw--set-id-chars, swsw--set-scope): Only call
'swsw-update' automatically when it's bound.
---
swsw.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/swsw.el b/swsw.el
index e68c02e61d..76bde8c4f8 100644
--- a/swsw.el
+++ b/swsw.el
@@ -72,7 +72,8 @@ CHARS, and call ‘swsw-update’."
(user-error
"‘swsw-id-chars’ should contain at least two characters")
(set-default sym chars)
- (swsw-update)))
+ (when (fboundp 'swsw-update)
+ (swsw-update))))
(defcustom swsw-id-chars '(?a ?s ?d ?f ?g ?h ?j ?k ?l)
"Base set of characters from which window IDs are constructed.
@@ -88,7 +89,8 @@ This list should contain at least two characters."
"Set the variable ‘swsw-scope’.
Set SYM’s value to SCOPE and call ‘swsw-update’."
(set-default sym scope)
- (swsw-update))
+ (when (fboundp 'swsw-update)
+ (swsw-update)))
(defcustom swsw-scope t
"Scope of all window operations.
- [nongnu] elpa/swsw 8a8be23f1b 050/146: ; Include license information in created package archives, (continued)
- [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
- [nongnu] elpa/swsw 307b891692 127/146: ; Small fix in NEWS, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c884983ae2 090/146: ; Fix makefile for OpenBSD, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f66c043abc 067/146: Only call 'swsw-update' automatically when it's bound,
ELPA Syncer <=
- [nongnu] elpa/swsw dc4595546a 094/146: ; Change a message to a (more fitting in this context) user-error, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b3e00165f2 073/146: ; Add latest changes to the NEWS file and indicate that 1.1.2 is WIP, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 69dfbd08de 083/146: ; Bump version to 2.0, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw dee158840a 100/146: ; Indicate that ELPA installation is not yet available, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 09bb140ee3 096/146: * swsw.el (swsw-update): Use 'dotimes' instead of 'while', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 300a4e8e61 084/146: * swsw.el (swsw-delete): Fix when the other tracked window is a minibuffer, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8b8c353938 143/146: ; Generate swsw-pkg.el' automatically, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 51b8c1eb7c 080/146: ; Update documentation according to latest changes, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 522bfb2da0 074/146: ; Add versioning scheme information to the NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 92abfc5de4 119/146: ; Make some long lines short, ELPA Syncer, 2022/05/25