branch: externals/window-commander commit c153d9a32c3b7040d82faf1e7df222c087e56b1f Author: Daniel Semyonov <cm...@dsemy.com> Commit: Daniel Semyonov <cm...@dsemy.com>
; Add version information to customizable variables --- NEWS | 2 ++ swsw.el | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 7424a15057..be6ae6e48d 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,8 @@ See the end of the file for an explanation of the versioning scheme. * 2.0.1 (currently in development) +** Add version information to customizable variables. + ** Fix swsw-delete when the only other tracked window is the minibuffer. * 2.0 diff --git a/swsw.el b/swsw.el index da6fac46a2..f3c9eed31a 100644 --- a/swsw.el +++ b/swsw.el @@ -91,7 +91,8 @@ CHARS, and call ‘swsw-update’." "Base set of characters from which window IDs are constructed. This list should contain at least two characters." :type '(repeat character) - :set #'swsw--set-id-chars) + :set #'swsw--set-id-chars + :package-version '(swsw . 1.0)) (defun swsw--set-scope (sym scope) "Set the variable ‘swsw-scope’. @@ -114,7 +115,8 @@ t means consider all windows on all existing frames. (const :tag "All window on the currently selected frame" current)) - :set #'swsw--set-scope) + :set #'swsw--set-scope + :package-version '(swsw . 1.1)) (defun swsw--set-display-function (sym fun) "Set the variable ‘swsw-display-function’. @@ -135,12 +137,14 @@ This function is called with t as the sole argument when enabling If set to ‘lighter’, use the mode line lighter of ‘swsw-mode’." :type '(radio (const :tag "Mode line lighter" lighter) (function :tag "Display function")) - :set #'swsw--set-display-function) + :set #'swsw--set-display-function + :package-version '(swsw . 1.0)) (defcustom swsw-id-format " <%s>" "Format string for the window ID. %s is replaced with a representation of the window's ID." - :type '(string)) + :type '(string) + :package-version '(swsw . 1.0)) ;;;; Window tracking: