Skip to content

Commit 7e14c83

Browse files
committed
Add customization to exclude the current session when switching sessions
1 parent 8eae80e commit 7e14c83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

easysession.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,11 @@ activated when `easysession-save-mode' is enabled."
178178
easysession-mode-line-misc-info-format))))
179179

180180
(defcustom easysession-switch-to-exclude-current nil
181-
"If non-nil, don't suggest current session when switching sessions."
181+
"Non-nil to exclude the current session when switching sessions.
182+
183+
This can be useful to prevent accidental re-selection of the session already in
184+
use, especially when cycling through or interactively selecting among available
185+
sessions."
182186
:type 'boolean
183187
:group 'easysession)
184188

0 commit comments

Comments
 (0)