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:
parent
4d64021980
commit
dca166f79c
1 changed files with 0 additions and 1 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
(defun +irc-setup-wconf (&optional inhibit-workspace)
|
||||
(when (and (featurep! :ui workspaces)
|
||||
(+workspace-exists-p +irc--workspace-name)
|
||||
(not inhibit-workspace))
|
||||
(+workspace-switch +irc--workspace-name 'auto-create))
|
||||
(let ((buffers (doom-buffers-in-mode 'circe-mode nil t)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue