doomemacs/modules/app/irc/autoload/irc.el
Henrik Lissner d2b514e1ba
Consistency refactor
For consistency with other app modules:

+ Refactor out s.el dependency
+ Reorder variables (public then private)
+ Use add-hook! instead of add-hook+lambda
+ Optimization: replace mapcar+closure with cl-loop (reduces allocations)
+ Replace evil-set-initial-state with (set! :evil-state ...), which is
  ignored if :feature evil is disabled.
2017-06-11 16:15:36 +02:00

17 lines
408 B
EmacsLisp

;;; app/irc/autoload/email.el -*- lexical-binding: t; -*-
;;;###autoload
(defun =irc ()
"Connect to IRC."
(interactive)
(call-interactively #'circe))
;;;###autoload
(defun +irc/connect-all ()
"Connect to all `:irc' defined servers."
(interactive)
;; force a library load for +irc--accounts
(circe--version)
(cl-loop for network in +irc--accounts
collect (circe (car network))))