mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-07 12:47:30 -05:00
Only switch to dashboard when creating a new workspace
This commit is contained in:
@ -507,7 +507,7 @@ This be hooked to `projectile-after-switch-project-hook'."
|
||||
(+workspace-message
|
||||
(format "Switched to '%s' in new workspace" new-name)
|
||||
'success))
|
||||
(with-current-buffer (switch-to-buffer (doom-fallback-buffer))
|
||||
(with-current-buffer (doom-fallback-buffer)
|
||||
(setq default-directory +workspaces--project-dir)
|
||||
(message "Switched to '%s'" (doom-project-name +workspaces--project-dir)))
|
||||
(unless current-prefix-arg
|
||||
|
Reference in New Issue
Block a user