mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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)
|
(if (+workspace-exists-p +irc--workspace-name)
|
||||||
(+workspace-switch +irc--workspace-name)
|
(+workspace-switch +irc--workspace-name)
|
||||||
(and (+irc-setup-wconf inhibit-workspace)
|
(and (+irc-setup-wconf inhibit-workspace)
|
||||||
|
(if circe-network-options
|
||||||
(cl-loop for network in circe-network-options
|
(cl-loop for network in circe-network-options
|
||||||
collect (circe (car network))))))
|
collect (circe (car network)))
|
||||||
|
(quiet! (call-interactively #'circe))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +irc/connect (&optional inhibit-workspace)
|
(defun +irc/connect (&optional inhibit-workspace)
|
||||||
|
Reference in New Issue
Block a user