From: Ramakrishnan Muthukrishnan Date: Thu, 18 Feb 2016 10:26:56 +0000 (+0530) Subject: add which-func-mode X-Git-Url: https://git.rkrishnan.org/about.html?a=commitdiff_plain;h=f46f2bfa998fce6c1dffb2148402f7c6278f1df6;p=.emacs.d.git add which-func-mode --- diff --git a/init.el b/init.el index 95340c8..213f7df 100644 --- a/init.el +++ b/init.el @@ -50,10 +50,8 @@ (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) @@ -220,3 +218,6 @@ ;(desktop-save-mode 1) +;; which function? +(which-func-mode 1) +(add-to-list 'which-func-modes '(c-mode c++-mode rust-mode haskell-mode))