From: Mark Wooding Date: Thu, 3 Jun 2010 15:52:39 +0000 (+0100) Subject: dot/emacs: Remove lots of minor-mode verbiage. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/9b63bcd202c155b89006415deddb5f88fbe77832?ds=inline;hp=-c 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. --- 9b63bcd202c155b89006415deddb5f88fbe77832 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