add which-func-mode
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Thu, 18 Feb 2016 10:26:56 +0000 (15:56 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Thu, 18 Feb 2016 10:26:56 +0000 (15:56 +0530)
init.el

diff --git a/init.el b/init.el
index 95340c8e8c98a1259e919c99050407f56a9d4073..213f7dfb3e5d0f121aba17255cc0f4f165fdab6d 100644 (file)
--- a/init.el
+++ b/init.el
 
 (erc-autojoin-mode t)
 (setq erc-autojoin-channels-alist
-  '((".*\\.freenode.net" "#tahoe-lafs" "#haskell" "#haskell-beginners")
-    (".*\\.oftc.net" "#LeastAuthority")
-    ;;(".*\\.mozilla.org" "#rust-beginners")
-    ))
+  '((".*\\.freenode.net" "#tahoe-lafs") ;;  "#plan9chan" "#cat-v")
+    (".*\\.oftc.net" "#LeastAuthority" "#debian-in")))
 
 ;; check channels
 (erc-track-mode t)
 
 ;(desktop-save-mode 1)
 
+;; which function?
+(which-func-mode 1)
+(add-to-list 'which-func-modes '(c-mode c++-mode rust-mode haskell-mode))