From dca166f79c63a2d4ab49cd870413986ef62cae99 Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Thu, 2 Jan 2020 15:40:29 -0800 Subject: [PATCH] irc: fix logic for creating a workspace The `+workspace-switch` logic takes care of the check, so let's remove it. --- modules/app/irc/autoload/irc.el | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/app/irc/autoload/irc.el b/modules/app/irc/autoload/irc.el index 699422c4a..b560563fe 100644 --- a/modules/app/irc/autoload/irc.el +++ b/modules/app/irc/autoload/irc.el @@ -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)))