mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
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:
committed by
Henrik Lissner
parent
f4e74e17ad
commit
a23e021032
@@ -55,7 +55,8 @@ workspace for it."
|
|||||||
circe-server-killed-confirmation)
|
circe-server-killed-confirmation)
|
||||||
(when +irc--defer-timer
|
(when +irc--defer-timer
|
||||||
(cancel-timer +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))
|
(mapc #'kill-buffer (doom-buffers-in-mode 'circe-mode (buffer-list) t))
|
||||||
(when (modulep! :ui workspaces)
|
(when (modulep! :ui workspaces)
|
||||||
(when (equal (+workspace-current-name) +irc--workspace-name)
|
(when (equal (+workspace-current-name) +irc--workspace-name)
|
||||||
|
Reference in New Issue
Block a user