fix(vertico): embark open in new workspace action

This commit is contained in:
Kalle Lindqvist 2023-12-08 12:13:10 +01:00 committed by Henrik Lissner
parent f6851d56ef
commit 03d692f129

View file

@ -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))