Add: app/irc: (=irc) if irc workspace exists switch to that
don't connect to the networks again
This commit is contained in:
parent
2286a6404f
commit
00180310df
1 changed files with 5 additions and 3 deletions
|
@ -20,9 +20,11 @@
|
|||
If INHIBIT-WORKSPACE (the universal argument) is non-nil, don't spawn a new
|
||||
workspace for it."
|
||||
(interactive "P")
|
||||
(and (+irc-setup-wconf inhibit-workspace)
|
||||
(cl-loop for network in circe-network-options
|
||||
collect (circe (car network)))))
|
||||
(if (+workspace-exists-p +irc--workspace-name)
|
||||
(+workspace-switch +irc--workspace-name)
|
||||
(and (+irc-setup-wconf inhibit-workspace)
|
||||
(cl-loop for network in circe-network-options
|
||||
collect (circe (car network))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +irc/connect (&optional inhibit-workspace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue