]> git.eshelyaron.com Git - emacs.git/commit
* calendar/todos.el: Improve handling of overlays.
authorStephen Berman <stephen.berman@gmx.net>
Sat, 16 Feb 2013 21:45:53 +0000 (22:45 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Sat, 16 Feb 2013 21:45:53 +0000 (22:45 +0100)
commit21d0ff7bc8ec16e2808924b317d189dad90391c3
tree9019819aa24cd23353dd298d4ef33d4edfa9e5c4
parentb117d0fbfca07ae8e3881a4d15e366d54a10095e
* calendar/todos.el: Improve handling of overlays.
(todos-get-overlay): New function.
(todos-prefix-overlay): Remove, since subsumed by
todos-get-overlay, and replace by the latter in callers.
(todos-reset-prefix): Apply only to buffer visiting Todos files.
Simplify implementation and use `todos' overlay property.
(todos-reset-done-separator): Use todos-get-overlay and `todos'
overlay property.  Fix logic.
(todos-category-select): Use todos-get-overlay and `todos' overlay
property.
(todos-remove-item): Use todos-get-overlay.  Correct obsolete code.
(todos-prefix-overlays): Use todos-top-priority face also for
non-numerical prefix of top priority items.  Add `todos' overlay
property.
(todos-hide-show-date-time): Simplify, using todos-get-overlay and
`todos' overlay property.
lisp/ChangeLog
lisp/calendar/todos.el