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.
17 lines
408 B
EmacsLisp
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))))
|
|
|