]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 0cc5b7fe71cade0f0b5636312d861478bf5e2e0a..21cc087aca90ed97577c890bd89b24178bfd0fe2 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 1a54cc2c67bb448b52ca311249ec90352c316303..6b246c98ed4bb68436ffa4ef0016ceaf88fec13b 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