mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(rss): fix *rss* workspace doesn't exist
Change-Id: Ic42528fcda679ff3538db2fad4c7d4dae6fc8d7a
This commit is contained in:
committed by
Henrik Lissner
parent
9fde385cdc
commit
f178eb6f52
@ -98,11 +98,13 @@
|
|||||||
(remove-hook 'kill-buffer-hook #'+rss-cleanup-h :local)
|
(remove-hook 'kill-buffer-hook #'+rss-cleanup-h :local)
|
||||||
(kill-buffer b)))
|
(kill-buffer b)))
|
||||||
(mapc #'kill-buffer show-buffers))
|
(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)
|
(+workspace/delete +rss-workspace-name)
|
||||||
(when (window-configuration-p +rss--wconf)
|
(when (window-configuration-p +rss--wconf)
|
||||||
(set-window-configuration +rss--wconf))
|
(set-window-configuration +rss--wconf))
|
||||||
(setq +rss--wconf nil)))
|
(setq +rss--wconf nil)
|
||||||
|
(previous-buffer)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user