mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
app/irc: fix =irc nooping without preset networks #1121
=irc would do nothing if no networks were pre-set with set-irc-server!.
This commit is contained in:
@ -23,8 +23,10 @@ workspace for it."
|
||||
(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))))))
|
||||
(if circe-network-options
|
||||
(cl-loop for network in circe-network-options
|
||||
collect (circe (car network)))
|
||||
(quiet! (call-interactively #'circe))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +irc/connect (&optional inhibit-workspace)
|
||||
|
Reference in New Issue
Block a user