Function: eca-chat-inline-detach

eca-chat-inline-detach is an interactive and natively compiled function defined in eca-chat-inline.el.

Signature

(eca-chat-inline-detach)

Documentation

Forget the inline chat association of the current buffer.

Also dismisses its overlay when present. The chat itself is kept and can still be reached via eca-chat-select.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-inline.el
;;;###autoload
(defun eca-chat-inline-detach ()
  "Forget the inline chat association of the current buffer.
Also dismisses its overlay when present.  The chat itself is kept
and can still be reached via `eca-chat-select'."
  (interactive)
  (when-let* ((chat-id eca-chat-inline--chat-id)
              (ov (eca-chat-inline--live-overlay chat-id)))
    (eca-chat-inline--delete-overlay ov))
  (setq-local eca-chat-inline--chat-id nil)
  (eca-info "Inline chat association removed"))