tweak(irc): check circe-notifications is bound
As some people may disable this package it can cause them to not be able to quit there irc session
This commit is contained in:
parent
33cc7e6278
commit
cb46c01e3f
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ workspace for it."
|
|||
circe-server-killed-confirmation)
|
||||
(when +irc--defer-timer
|
||||
(cancel-timer +irc--defer-timer))
|
||||
(disable-circe-notifications)
|
||||
(when (fboundp #'disable-circe-notifications)
|
||||
(disable-circe-notifications))
|
||||
(mapc #'kill-buffer (doom-buffers-in-mode 'circe-mode (buffer-list) t))
|
||||
(when (modulep! :ui workspaces)
|
||||
(when (equal (+workspace-current-name) +irc--workspace-name)
|
||||
|
|
Loading…
Reference in a new issue