From 928ec16242056be88855ba81a763e068f425b639 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 18 May 2019 23:43:27 -0400 Subject: [PATCH] ui/workspaces: remove unused function --- modules/ui/workspaces/autoload/workspaces.el | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/modules/ui/workspaces/autoload/workspaces.el b/modules/ui/workspaces/autoload/workspaces.el index 6140ee535..f92662bf1 100644 --- a/modules/ui/workspaces/autoload/workspaces.el +++ b/modules/ui/workspaces/autoload/workspaces.el @@ -524,15 +524,3 @@ This be hooked to `projectile-after-switch-project-hook'." (when (doom-real-buffer-list) (apply orig-fn args)) t) - -;;;###autoload -(defun +workspaces*switch-project-by-name (orig-fn &rest args) - "Switch to a project and prompt for a file to open. - -Ensures the scratch (or dashboard) buffers are CDed into the project's root." - (when persp-mode - (+workspace-switch (car args) t) - (with-current-buffer (switch-to-buffer (doom-fallback-buffer)) - (setq default-directory (car args)))) - (apply orig-fn args)) -