Merge pull request #601 from jcf/fix-workspace-load

Fix use of +workspaces-data-file in +workspace/load
This commit is contained in:
Henrik Lissner 2018-05-25 15:37:19 +02:00 committed by GitHub
commit 4771c047c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,7 +211,7 @@ current workspace (by name) from session files."
(completing-read
"Workspace to load: "
(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))
(+workspace-error (format "Couldn't load workspace %s" name))
(+workspace/switch-to name)