Fix #3389: wrong-type-argument on closing calendar
Can happen if you don't open the calendar through =calendar.
This commit is contained in:
parent
87a9ed0797
commit
fdbf68cf3c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue