;;; circe-init.el --- Initialize Circe

;; This file is part of Michael Olson's Emacs settings.

;; The code in this file may be used, distributed, and modified
;; without restriction.

;; I use initsplit.el to separate customize settings on a per-project
;; basis.

;; Add working directories to load path
(add-to-list 'load-path "/stuff/proj/emacs/circe/devo")

;; Initialize
(require 'circe)

(setq circe-default-realname "Michael Olson"
      circe-default-nick "mwolson`"
      circe-ignore-list nil
      circe-server-auto-join-channels '(("^freenode$" "#emacs" "#fsbot")))

(setq lui-max-buffer-size 30000
      lui-flyspell-p t
      lui-flyspell-alist '(("." "american")))

(eval-after-load "circe"
  '(progn
     (require 'lui-irc-colors)
     (add-to-list 'lui-pre-output-hook 'lui-irc-colors)))

(global-set-key "\C-cec" #'(lambda ()
                             (interactive)
                             (circe "irc.us.freenode.net" "ircd")))

;;; circe-init.el ends here