Function: treemacs-find-workspace-by-name

treemacs-find-workspace-by-name is a byte-compiled function defined in treemacs-workspaces.el.

Signature

(treemacs-find-workspace-by-name NAME)

Documentation

Find a workspace with the given NAME.

The check is case-sensitive. nil is returned when no workspace is found.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-workspaces.el
(defun treemacs-find-workspace-by-name (name)
  "Find a workspace with the given NAME.
The check is case-sensitive.  nil is returned when no workspace is found."
  (declare (side-effect-free t))
  (--first (string= name (treemacs-workspace->name it))
           treemacs--workspaces))