Function: sesman-ensure-session
sesman-ensure-session is a byte-compiled function defined in
sesman.el.
Signature
(sesman-ensure-session SYSTEM &optional CXT-TYPES)
Documentation
Get the most relevant linked session for SYSTEM or throw if none exists.
CXT-TYPES is a list of context types to consider.
Source Code
;; Defined in ~/.emacs.d/elpa/sesman-20240417.1723/sesman.el
(defun sesman-ensure-session (system &optional cxt-types)
"Get the most relevant linked session for SYSTEM or throw if none exists.
CXT-TYPES is a list of context types to consider."
(or (sesman-current-session system cxt-types)
(user-error "No linked %s sessions" system)))