Function: sesman-unregister

sesman-unregister is a byte-compiled function defined in sesman.el.

Signature

(sesman-unregister SYSTEM SESSION)

Documentation

Unregister SESSION.

SYSTEM defaults to current system. Remove session from sesman-sessions-hashmap and sesman-links-alist.

Source Code

;; Defined in ~/.emacs.d/elpa/sesman-20240417.1723/sesman.el
(defun sesman-unregister (system session)
  "Unregister SESSION.
SYSTEM defaults to current system.  Remove session from
`sesman-sessions-hashmap' and `sesman-links-alist'."
  (let ((ses-key (cons system (car session))))
    (remhash ses-key sesman-sessions-hashmap)
    (sesman--clear-links)
    session))