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))))))) (funcall consult--buffer-display (car buffer)))))))
;;;###autoload ;;;###autoload
(defun +vertico/embark-open-in-new-workspace (x) (defun +vertico/embark-open-in-new-workspace (file)
"Open X (a file) in a new workspace." "Open file in a new workspace."
(interactive) (interactive "GFile:")
(+workspace/new) (+workspace/new)
(find-file x)) (find-file file))