Register workspace buffers opened via bookmark-jump

This commit is contained in:
Henrik Lissner 2020-07-28 16:06:37 -04:00
parent ba69327c56
commit 095b32979f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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