]> git.rkrishnan.org Git - .emacs.d.git/commitdiff
irc - add haskell-beginners, debian-gnupg
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 5 Sep 2016 14:35:16 +0000 (20:05 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Mon, 5 Sep 2016 14:35:16 +0000 (20:05 +0530)
init.el

diff --git a/init.el b/init.el
index a201655ba911012e211d07fe32eeae866e53a3ab..d0d01fe3d28493e5fc2df7549abe26e57d9b46f6 100644 (file)
--- 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")
         ))
 
 ;; 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 ()