From 9b63bcd202c155b89006415deddb5f88fbe77832 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 3 Jun 2010 16:52:39 +0100 Subject: [PATCH] dot/emacs: Remove lots of minor-mode verbiage. Hack `minor-mode-alist' so that boring things take up less space (or none at all) in the mode line. This means that we stand a chance of being able to see the function name if which-func is on. --- dot/emacs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dot/emacs b/dot/emacs index 29974a6..0aa4591 100644 --- a/dot/emacs +++ b/dot/emacs @@ -481,6 +481,18 @@ (org-remember-insinuate) (global-set-key [?\C-c ?r] 'org-remember))) +;; Minor mode listing + +(setq minor-mode-alist + (mdw-uniquify-alist '((reveal-mode (hs-minor-mode + " hs/r" + (global-reveal-mode + "" " Reveal"))) + (hs-minor-mode (reveal-mode "" " hs")) + (abbrev-mode "") + (gtags-mode "")) + minor-mode-alist)) + ;; Recognising types of files. (setq auto-mode-alist -- 2.11.0