chiark / gitweb /
dot/emacs: Remove lots of minor-mode verbiage.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 3 Jun 2010 15:52:39 +0000 (16:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 3 Jun 2010 15:52:39 +0000 (16:52 +0100)
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

index 29974a64b9f2df8137143547518d794bf8b11140..0aa459171a73652090b036a2e44af58bb08c863a 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
       (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