mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix #3389: wrong-type-argument on closing calendar
Can happen if you don't open the calendar through =calendar.
This commit is contained in:
@ -31,7 +31,8 @@
|
|||||||
(if (featurep! :ui workspaces)
|
(if (featurep! :ui workspaces)
|
||||||
(+workspace/delete "Calendar")
|
(+workspace/delete "Calendar")
|
||||||
(doom-kill-matching-buffers "^\\*cfw:")
|
(doom-kill-matching-buffers "^\\*cfw:")
|
||||||
(set-window-configuration +calendar--wconf)
|
(when (window-configuration-p +calendar--wconf)
|
||||||
|
(set-window-configuration +calendar--wconf))
|
||||||
(setq +calendar--wconf nil)))
|
(setq +calendar--wconf nil)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user