Function: eca-workspaces--workspace-candidates

eca-workspaces--workspace-candidates is a natively compiled function defined in eca-workspaces.el.

Signature

(eca-workspaces--workspace-candidates)

Documentation

Return an alist of (LABEL . SESSION), the session at point first.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces--workspace-candidates ()
  "Return an alist of (LABEL . SESSION), the session at point first."
  (let ((at-point (eca-workspaces--session-at-point)))
    (--map (cons (eca-workspaces--workspace-label it) it)
           (append (when at-point (list at-point))
                   (remq at-point (eca-workspaces--sorted-sessions))))))