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.
This commit is contained in:
Henrik Lissner 2017-06-11 16:09:09 +02:00
parent 128fe0466c
commit d2b514e1ba
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 34 additions and 22 deletions

View file

@ -12,7 +12,6 @@
(interactive)
;; force a library load for +irc--accounts
(circe--version)
(mapcar (lambda (network)
(circe (car network)))
+irc--accounts))
(cl-loop for network in +irc--accounts
collect (circe (car network))))