From f7c368c5da860a6f6b36a693a2c43044d7bd7659 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 14 Sep 2019 18:28:12 -0400 Subject: [PATCH] ui/workspaces: associate files opened via emacsclient ...with the current workspace. --- modules/ui/workspaces/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/workspaces/config.el b/modules/ui/workspaces/config.el index 9dd214f64..33235cbd7 100644 --- a/modules/ui/workspaces/config.el +++ b/modules/ui/workspaces/config.el @@ -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