* calendar/todos.el: Item insertion and done/undo fixes.
commit8b38fab92bcdb8703447ada31a1972c9be6ed17c
authorStephen Berman <stephen.berman@gmx.net>
Tue, 19 Feb 2013 22:29:28 +0000 (19 23:29 +0100)
committerStephen Berman <stephen.berman@gmx.net>
Tue, 19 Feb 2013 22:29:28 +0000 (19 23:29 +0100)
treec79da4fa05abbd991b4af542fc82f733b5cd89f8
parent21d0ff7bc8ec16e2808924b317d189dad90391c3
* calendar/todos.el: Item insertion and done/undo fixes.
(todos-insert-item): Maybe set the insertion file to
todos-global-current-todos-file.  When inserting into a file that
was not being visited on invoking this command, ensure chosen
category is properly selected.  Make item inserted "here" the
first todo item if the command was invoked with point in done
items section or outside of the current category.
(todos-item-done): When done items are shown, put cursor on first
just done item.
(todos-item-undo): Put cursor on undone item.
lisp/ChangeLog
lisp/calendar/todos.el