Function: eca-workspaces-visit-or-toggle
eca-workspaces-visit-or-toggle is an interactive and natively compiled
function defined in eca-workspaces.el.
Signature
(eca-workspaces-visit-or-toggle &optional EVENT)
Documentation
Switch to the chat on the current line, or toggle the workspace.
EVENT, when non-nil, is the mouse event that triggered the command.
Key Bindings
eca-workspaces-mode-map RET
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces-visit-or-toggle (&optional event)
"Switch to the chat on the current line, or toggle the workspace.
EVENT, when non-nil, is the mouse event that triggered the command."
(interactive (list last-nonmenu-event))
(when (mouse-event-p event)
(mouse-set-point event))
(if-let* ((chat-buffer (eca-workspaces--chat-buffer-at-point)))
(eca-workspaces--open-chat chat-buffer)
(eca-workspaces-toggle-line)))