summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Berman <stephen.berman@gmx.net>2014-06-26 21:22:08 +0200
committerStephen Berman <stephen.berman@gmx.net>2014-06-26 21:22:08 +0200
commitfe9f42eb6e207c2a19df7f681beb2d9fa59553ca (patch)
tree7541eb7654765339c413f7e4854db14d7c2eaac0
parent64c3533166e1fa517422f89f953cfdaea6ee7bf0 (diff)
downloademacs-fe9f42eb6e207c2a19df7f681beb2d9fa59553ca.tar.gz
* 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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/calendar/todo-mode.el2
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0cc5b7fe71c..21cc087aca9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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)
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 1a54cc2c67b..6b246c98ed4 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -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