Merge pull request #2295 from seanfarley/patch-1

irc: fix logic for creating a workspace
This commit is contained in:
Henrik Lissner 2020-01-02 19:56:29 -05:00 committed by GitHub
commit 7f8ad38372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)))