mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
irc: fix logic for creating a workspace
The `+workspace-switch` logic takes care of the check, so let's remove it.
This commit is contained in:
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
(defun +irc-setup-wconf (&optional inhibit-workspace)
|
(defun +irc-setup-wconf (&optional inhibit-workspace)
|
||||||
(when (and (featurep! :ui workspaces)
|
(when (and (featurep! :ui workspaces)
|
||||||
(+workspace-exists-p +irc--workspace-name)
|
|
||||||
(not inhibit-workspace))
|
(not inhibit-workspace))
|
||||||
(+workspace-switch +irc--workspace-name 'auto-create))
|
(+workspace-switch +irc--workspace-name 'auto-create))
|
||||||
(let ((buffers (doom-buffers-in-mode 'circe-mode nil t)))
|
(let ((buffers (doom-buffers-in-mode 'circe-mode nil t)))
|
||||||
|
Reference in New Issue
Block a user