From fdda737760260a6c549efc66839ba5038af445d3 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Mon, 5 Sep 2016 20:05:16 +0530
Subject: [PATCH] irc - add haskell-beginners, debian-gnupg

---
 init.el | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/init.el b/init.el
index a201655..d0d01fe 100644
--- a/init.el
+++ b/init.el
@@ -57,8 +57,8 @@
 
 (erc-autojoin-mode t)
 (setq erc-autojoin-channels-alist
-      '((".*\\.freenode.net" "#tahoe-lafs")
-        (".*\\.oftc.net" "#debian-uk")
+      '((".*\\.freenode.net" "#haskell-beginners" "#tahoe-lafs")
+        (".*\\.oftc.net" "#debian-uk" "#debian-gnupg")
         ;; (".*\\.mozilla.org" "#rust-beginners")
         ))
 
@@ -104,6 +104,14 @@
 ;; haskell
 (add-hook 'haskell-mode-hook 'intero-mode)
 
+;; hlint
+(add-to-list 'load-path "~/.emacs.d/hs-lint")
+(require 'hs-lint)
+(defun my-haskell-mode-hook ()
+   (local-set-key "\C-cl" 'hs-lint))
+
+(add-hook 'haskell-mode-hook 'my-haskell-mode-hook)
+
 ;; gofmt
 (add-hook 'before-save-hook #'gofmt-before-save)
 (add-hook 'go-mode-hook (lambda ()
-- 
2.45.2