emacs-elpa-diffs
[Top][All Lists]
Advanced

[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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]