* calendar/todo-mode.el (todo-prefix-overlays): If there is no
authorStephen Berman <stephen.berman@gmx.net>
Thu, 26 Jun 2014 19:22:08 +0000 (21:22 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Thu, 26 Jun 2014 19:22:08 +0000 (21:22 +0200)
category-wide setting of todo-top-priorities-overrides, check for
a file-wide setting and fontify accordingly.

lisp/ChangeLog
lisp/calendar/todo-mode.el

index 0cc5b7f..21cc087 100644 (file)
@@ -1,3 +1,9 @@
+2014-06-26  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el (todo-prefix-overlays): If there is no
+       category-wide setting of todo-top-priorities-overrides, check for
+       a file-wide setting and fontify accordingly.
+
 2014-06-26  Glenn Morris  <rgm@gnu.org>
 
        * subr.el (read-passwd): Warn about batch mode.  (Bug#17839)
index 1a54cc2..6b246c9 100644 (file)
@@ -5303,6 +5303,8 @@ of each other."
                          (todo-current-category)
                          (nth 2 (assoc-string todo-current-todo-file
                                               todo-top-priorities-overrides))))
+                   (nth 1 (assoc-string todo-current-todo-file
+                                        todo-top-priorities-overrides))
                    todo-top-priorities))
        done prefix)
     (save-excursion