diff --git a/modules/ui/workspaces/config.el b/modules/ui/workspaces/config.el index cb56d6310..170963bf6 100644 --- a/modules/ui/workspaces/config.el +++ b/modules/ui/workspaces/config.el @@ -200,6 +200,10 @@ stored in `persp-save-dir'.") (not (buffer-live-p buf))) (add-hook 'persp-filter-save-buffers-functions #'+workspaces-dead-buffer-p) + ;; Otherwise, buffers opened via bookmarks aren't treated as "real" and are + ;; excluded from the buffer list. + (add-hook 'bookmark-after-jump-hook #'+workspaces-add-current-buffer-h) + ;; ;; eshell (persp-def-buffer-save/load