From f46f2bfa998fce6c1dffb2148402f7c6278f1df6 Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Thu, 18 Feb 2016 15:56:56 +0530 Subject: [PATCH] add which-func-mode --- init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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)) -- 2.45.2