TODO statistics: Handle entries without children
commiteab41a756a6df529f0582ec0221dfde867bb0a07
authorCarsten Dominik <carsten.dominik@gmail.com>
Mon, 4 Jan 2010 14:11:31 +0000 (4 15:11 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Mon, 4 Jan 2010 14:11:31 +0000 (4 15:11 +0100)
tree62a950a7e12178da98d13ec3c07c8c380ba3e1de
parent3e0c61d86cc0e47c0369212fd0416e4cadc81165
TODO statistics: Handle entries without children

Oscar Fuentes writes:

> When a [/] is used on a header that does not contain subitems, pressing
> C-c C-c on it signals an error on the minibuffer:
>
> org-update-statistics-cookies: No data for statistics cookie
>
> and the cookie appears with the same face (text color) as if it were
> incomplete.
>
> IMHO, [/] on a header without subitems should show [0/0] with the same
> face used for the case where all subitems are done.

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
lisp/ChangeLog
lisp/org.el