Merge pull request #1227 from flatwhatson/fix-dashboard-switch
Only switch to dashboard when creating a new workspace
This commit is contained in:
commit
8f98e441c0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -21,7 +21,7 @@ new project directory.")
|
|||
Can be one of the following:
|
||||
|
||||
t Always create a new workspace for the project
|
||||
'non-empty Only create a new workspace if the current one has no buffers
|
||||
'non-empty Only create a new workspace if the current one already has buffers
|
||||
associated with it.
|
||||
nil Never create a new workspace on project switch.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue