mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
Merge pull request #601 from jcf/fix-workspace-load
Fix use of +workspaces-data-file in +workspace/load
This commit is contained in:
@@ -211,7 +211,7 @@ current workspace (by name) from session files."
|
|||||||
(completing-read
|
(completing-read
|
||||||
"Workspace to load: "
|
"Workspace to load: "
|
||||||
(persp-list-persp-names-in-file
|
(persp-list-persp-names-in-file
|
||||||
(expand-file-name +workspace-data-file persp-save-dir))))))
|
(expand-file-name +workspaces-data-file persp-save-dir))))))
|
||||||
(if (not (+workspace-load name))
|
(if (not (+workspace-load name))
|
||||||
(+workspace-error (format "Couldn't load workspace %s" name))
|
(+workspace-error (format "Couldn't load workspace %s" name))
|
||||||
(+workspace/switch-to name)
|
(+workspace/switch-to name)
|
||||||
|
Reference in New Issue
Block a user