[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw ca14f1d0c5 107/146: Mark some variables as risky loca
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw ca14f1d0c5 107/146: Mark some variables as risky local variables |
Date: |
Wed, 25 May 2022 02:59:52 -0400 (EDT) |
branch: elpa/swsw
commit ca14f1d0c57b97688a74486b8ba66c45c7d48494
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>
Mark some variables as risky local variables
* swsw.el (swsw-id-chars, swsw-scope, swsw--id-counter, swsw-window-count):
Mark as risky local variables.
---
swsw.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/swsw.el b/swsw.el
index f66a08b981..fad6b9a7aa 100644
--- a/swsw.el
+++ b/swsw.el
@@ -89,6 +89,7 @@ This list should contain at least two characters."
(set-default sym chars)
(when (fboundp 'swsw-update)
(swsw-update)))
+ :risky t
:package-version '(swsw . 1.0))
(defcustom swsw-scope t
@@ -109,6 +110,7 @@ t means consider all windows on all existing frames.
(set-default sym scope)
(when (fboundp 'swsw-update)
(swsw-update)))
+ :risky t
:package-version '(swsw . 1.1))
(defcustom swsw-display-function 'lighter
@@ -137,12 +139,14 @@ If set to `lighter', use the mode line lighter of
`swsw-mode'."
(defvar swsw--id-counter nil
"Counter which determines the next possible ID.")
+(put 'swsw--id-counter 'risky-local-variable t)
(defvar swsw--id-map (make-sparse-keymap)
"Key map for window ID selection.")
(defvar swsw-window-count 0
"Amount of windows that have been assigned an ID.")
+(put 'swsw-window-count 'risky-local-variable t)
(defun swsw--get-scope ()
"Return the current scope in which windows should be tracked."
- [nongnu] elpa/swsw 2b43f66c82 145/146: ; Use 'kbd' instead of vector notation for 'define-key' example, (continued)
- [nongnu] elpa/swsw 2b43f66c82 145/146: ; Use 'kbd' instead of vector notation for 'define-key' example, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5d1ea190ab 011/146: Only display a mode line lighter for tracked windows, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw bbe31e347c 146/146: ; Bump version to 2.1.1, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b10ff98f3d 079/146: Add a window deletion command, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ddfed7b727 012/146: * swsw.el (swsw-mode): Add a sparse keymap., ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8b74678bcf 028/146: * swsw.el (swsw-display-function): Avoid byte compilation warning, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2d2edca2c3 029/146: ; Add 'Usage:' section to the commentary, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 54ca1baa14 030/146: ; Restructure README and commentary, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c0f5277538 045/146: ; Update the URL property of the package, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b3f6cee6af 068/146: ; Unify information in the README and commentary, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ca14f1d0c5 107/146: Mark some variables as risky local variables,
ELPA Syncer <=
- [nongnu] elpa/swsw 57e9986858 141/146: ; Small documentation fixes, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 3882424448 099/146: ; Bump to version 2.0.2, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ccab7194a7 133/146: Use 'custom-initialize-changed' to initialize some user options, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 5446df0f3e 059/146: * swsw.el (swsw--get-id-length): Fix the calculation of the ID length, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw af99790728 123/146: ; Various cosmetic changes to NEWS, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw af63260c0e 134/146: ; Update package URL to https://dsemy.com/projects/swsw, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw ff38ec1c24 124/146: ; Bump required Emacs version to 27.1 due to 'window-state-change-hook', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c378be9bae 130/146: ; Load 'subr-x' when compiling, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 2e4ca2b354 091/146: ; Don't specify -r when issuing rm in the Makefile's clean target, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw dc96f71732 122/146: Update window information when switching frames, ELPA Syncer, 2022/05/25