From: Stephen Berman Date: Thu, 26 Jun 2014 19:22:08 +0000 (+0200) Subject: * calendar/todo-mode.el (todo-prefix-overlays): If there is no X-Git-Tag: emacs-24.3.92~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe9f42eb6e207c2a19df7f681beb2d9fa59553ca;p=emacs.git * 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. --- 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 + + * 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 * 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