forked from mirrors/org-mode
Catch error when updating checkbox count with no headline in place
This commit is contained in:
parent
dd7655edc0
commit
8b7018269c
|
@ -1,3 +1,8 @@
|
|||
2010-03-01 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-list.el (org-toggle-checkbox): No errors when updating
|
||||
checkbox count fails because there is no heading.
|
||||
|
||||
2010-02-27 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-clock.el (org-clock-report-include-clocking-task): New
|
||||
|
|
|
@ -434,7 +434,9 @@ the whole buffer."
|
|||
(recursive
|
||||
(or (not org-hierarchical-checkbox-statistics)
|
||||
(string-match "\\<recursive\\>"
|
||||
(or (org-entry-get nil "COOKIE_DATA") ""))))
|
||||
(or (ignore-errors
|
||||
(org-entry-get nil "COOKIE_DATA"))
|
||||
""))))
|
||||
(cstat 0)
|
||||
)
|
||||
(when all
|
||||
|
|
Loading…
Reference in New Issue