Remove rst-mode from my-devel-mode-list as it does not support imenu (I get
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 16 Jul 2011 10:56:02 +0300
changeset 669 12851e09e1ae
parent 668 07411bd9d7d2
child 670 d10f2e70ff5e
Remove rst-mode from my-devel-mode-list as it does not support imenu (I get error). Put my-text-mode-list to highlight trailing whitespaces.
.emacs-my
--- a/.emacs-my	Sat Jul 16 10:50:36 2011 +0300
+++ b/.emacs-my	Sat Jul 16 10:56:02 2011 +0300
@@ -88,7 +88,7 @@
 
 (defvar my-devel-mode-list
   '(
-    outline-mode rst-mode
+    outline-mode
     sh-mode script-mode
     c-mode c++-mode java-mode js-mode
     python-mode
@@ -236,7 +236,7 @@
   (setq show-trailing-whitespace t)
   )
 (mapc (lambda (hook) (add-hook hook 'my-show-trailing-whitespace))
-      my-devel-mode-hook-list)
+      (append my-devel-mode-hook-list my-text-mode-hook-list))
 
 (setq next-line-add-newlines nil)