mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)))
|
||||||
|
Reference in New Issue
Block a user