fix(rss): *rss* workspace doesn't exist error

Co-authored-by: Johnson Liu <buyandrep@gmail.com>
This commit is contained in:
Henrik Lissner 2022-07-04 21:51:46 +02:00
parent e35cc0dfe7
commit e4a1e4c909
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -98,11 +98,13 @@
(remove-hook 'kill-buffer-hook #'+rss-cleanup-h :local)
(kill-buffer b)))
(mapc #'kill-buffer show-buffers))
(if (featurep! :ui workspaces)
(if (and (featurep! :ui workspaces)
(+workspace-exists-p +rss-workspace-name))
(+workspace/delete +rss-workspace-name)
(when (window-configuration-p +rss--wconf)
(set-window-configuration +rss--wconf))
(setq +rss--wconf nil)))
(setq +rss--wconf nil)
(previous-buffer)))
;;