From 42935deb6b24c45b2f10deee95fa6bb52ebf7c59 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Sun, 25 Feb 2024 00:06:44 -0500 Subject: [PATCH] Use function for switching treemacs workspace --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index ce40504..279d4b4 100644 --- a/config.org +++ b/config.org @@ -1964,7 +1964,7 @@ convenience function ensures that only the project directory is open. (append (remove-if (lambda (w) (string= (treemacs-workspace->name w) name)) treemacs--workspaces) (list workspace))) - (setf (treemacs-current-workspace) workspace) + (treemacs-do-switch-workspace workspace) (treemacs--invalidate-buffer-project-cache) (treemacs--rerender-after-workspace-change)))) #+end_src