Agenda: Fix bug with dimming blocked tasks when subtree is hidden.

Reported by Paul Mead.
This commit is contained in:
Carsten Dominik 2009-02-19 15:47:26 +01:00
parent 4a6bfd6552
commit 08788604e7
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
* org.el (org-block-todo-from-checkboxes): Announce that * org.el (org-block-todo-from-checkboxes): Announce that
checkboxes are the culprit. checkboxes are the culprit.
(org-block-todo-from-children-or-siblings): Call
`org-up-heading-all instead' of `outline-up-heading'.
* org-agenda.el (org-agenda-show-1): Renamed from * org-agenda.el (org-agenda-show-1): Renamed from
`org-agenda-show'. `org-agenda-show'.

View File

@ -8695,7 +8695,7 @@ changes. Such blocking occurs when:
(org-back-to-heading t) (org-back-to-heading t)
(when (save-excursion (when (save-excursion
(ignore-errors (ignore-errors
(outline-up-heading 1) (org-up-heading-all 1)
(org-entry-get (point) "ORDERED"))) (org-entry-get (point) "ORDERED")))
(let* ((this-level (funcall outline-level)) (let* ((this-level (funcall outline-level))
(current-level this-level)) (current-level this-level))