Function: eca-workspaces-toggle-line
eca-workspaces-toggle-line is an interactive and natively compiled
function defined in eca-workspaces.el.
Signature
(eca-workspaces-toggle-line &optional EVENT)
Documentation
Fold or unfold the workspace on the current line.
Does nothing on a chat line, which has nothing to fold. EVENT, when non-nil, is the mouse event that triggered the command.
Key Bindings
eca-workspaces-mode-map <tab> eca-workspaces-mode-map TAB
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces-toggle-line (&optional event)
"Fold or unfold the workspace on the current line.
Does nothing on a chat line, which has nothing to fold.
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))
(when (eca-workspaces--session-line-p)
(eca-workspaces--toggle-session (eca-workspaces--session-id-at-point))
t))