Fix +workspace/delete initially filtering workspaces
SPC u SPC TAB d will prompt you for the workspace you want to delete, with the name of the current workspace prefilled into the the minibuffer. This filters out all other workspaces from the get go, which may fool you into thinking you can only delete the current workspace. Now it only selects the current workspace by default, without filtering them.
This commit is contained in:
parent
ad1a7fd1ad
commit
060f6a36d3
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ workspace to delete."
|
||||||
(if current-prefix-arg
|
(if current-prefix-arg
|
||||||
(completing-read (format "Delete workspace (default: %s): " current-name)
|
(completing-read (format "Delete workspace (default: %s): " current-name)
|
||||||
(+workspace-list-names)
|
(+workspace-list-names)
|
||||||
nil nil current-name)
|
nil nil nil nil current-name)
|
||||||
current-name))))
|
current-name))))
|
||||||
(condition-case-unless-debug ex
|
(condition-case-unless-debug ex
|
||||||
(let ((workspaces (+workspace-list-names)))
|
(let ((workspaces (+workspace-list-names)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue