Function: eca-delete-session

eca-delete-session is a natively compiled function defined in eca-util.el.

Signature

(eca-delete-session SESSION)

Documentation

Delete SESSION from existing sessions.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-util.el
(defun eca-delete-session (session)
  "Delete SESSION from existing sessions."
  (when session
    (with-demoted-errors "eca-session-deleting-functions: %S"
      (run-hook-with-args 'eca-session-deleting-functions session))
    (clrhash eca--git-common-dir-cache)
    (setq eca--sessions
          (eca-dissoc eca--sessions (eca--session-id session)))
    (run-hooks 'eca-sessions-updated-hook)))