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.

Returns nil when there is no match.

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.
Returns nil when there is no match."
  (treemacs--maybe-load-workspaces)
  (--first (string= name (treemacs-workspace->name it))
           treemacs--workspaces))