From: Ramakrishnan Muthukrishnan Date: Mon, 5 Sep 2016 14:35:16 +0000 (+0530) Subject: irc - add haskell-beginners, debian-gnupg X-Git-Url: https://git.rkrishnan.org/components/%22news.html/frontends/%5B/%5D%20/uri/nxhtml.html?a=commitdiff_plain;h=fdda737760260a6c549efc66839ba5038af445d3;p=.emacs.d.git irc - add haskell-beginners, debian-gnupg --- 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 ()