Function: eca-doom-setup
eca-doom-setup is a natively compiled function defined in eca-doom.el.
Signature
(eca-doom-setup)
Documentation
Enable the ECA Doom integration.
Marks chat buffers as Doom real buffers and, when the :ui workspaces module is enabled, decorates the workspaces tabline and stops the ECA session of killed workspaces.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-doom.el
(defun eca-doom-setup ()
"Enable the ECA Doom integration.
Marks chat buffers as Doom real buffers and, when the `:ui
workspaces' module is enabled, decorates the workspaces tabline and
stops the ECA session of killed workspaces."
(add-hook 'doom-real-buffer-functions #'eca-doom-real-buffer-p)
(when (fboundp '+workspace--tabline)
(advice-add '+workspace--tabline :around #'eca-doom--tabline-advice)
(add-hook 'eca-chat-session-status-changed-functions
#'eca-doom--on-session-status-changed)
(add-hook 'persp-before-kill-functions #'eca-doom--on-workspace-kill)))