* calendar/todos.el: Display numerical priority string of top
authorStephen Berman <stephen.berman@gmx.net>
Sun, 6 Jan 2013 23:29:54 +0000 (00:29 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Sun, 6 Jan 2013 23:29:54 +0000 (00:29 +0100)
commit3a898abefd967d00573ec4ddb19c26db1ff9c1f6
tree8ba2e777af7f4e316ac42e813cc1ed4e70c8dd56
parenta1a7d89e1a808bf3aaedb23fc0b556712a949854
* calendar/todos.el: Display numerical priority string of top
priority items in category in a distinctive face.
(todos-prefix-string): Make doc string more precise.
(todos-top-priority): New defface.
(todos-done, todos-done-sep): Use more compact face definition
\(taken from font-lock.el).
(todos-comment): Give a complete face definition, instead of
inheriting from todos-done.
(todos-font-lock-keywords): Use todos-comment-face for
todos-comment-string-matcher.
(todos-prefix-overlays): Use todos-top-priority as the face
property of top priority items; don't condition reapplying item
prefix overlay on whether the string changed, since that prevents
updating display after changing number of top priorities.
(todos-set-top-priorities): Call todos-prefix-overlays to update
display.
lisp/ChangeLog
lisp/calendar/todos.el