From 03d692f129633e3bf0bd100d91b3ebf3f77db6d1 Mon Sep 17 00:00:00 2001 From: Kalle Lindqvist Date: Fri, 8 Dec 2023 12:13:10 +0100 Subject: [PATCH] fix(vertico): embark open in new workspace action --- modules/completion/vertico/autoload/workspaces.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/completion/vertico/autoload/workspaces.el b/modules/completion/vertico/autoload/workspaces.el index fcf63506d..01610da8c 100644 --- a/modules/completion/vertico/autoload/workspaces.el +++ b/modules/completion/vertico/autoload/workspaces.el @@ -86,8 +86,8 @@ buffer will be opened in the current workspace instead." (funcall consult--buffer-display (car buffer))))))) ;;;###autoload -(defun +vertico/embark-open-in-new-workspace (x) - "Open X (a file) in a new workspace." - (interactive) +(defun +vertico/embark-open-in-new-workspace (file) + "Open file in a new workspace." + (interactive "GFile:") (+workspace/new) - (find-file x)) + (find-file file))