ui/workspaces: associate files opened via emacsclient

...with the current workspace.
This commit is contained in:
Henrik Lissner 2019-09-14 18:28:12 -04:00
parent fff4968da9
commit f7c368c5da
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -109,7 +109,7 @@ stored in `persp-save-dir'.")
(setq persp-add-buffer-on-find-file nil
persp-add-buffer-on-after-change-major-mode nil)
(add-hook! 'doom-switch-buffer-hook
(add-hook! '(doom-switch-buffer-hook server-visit-hook)
(defun +workspaces-add-current-buffer-h ()
"Add current buffer to focused perspective."
(and persp-mode