Bugfix: Ignore again scheduled tasks.

This commit is contained in:
Carsten Dominik 2009-01-28 14:35:07 +01:00
parent bc19e4df69
commit ef020f221e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
* org-agenda.el (org-agenda-get-todos): Start search from correct
position.
* org.el (org-fast-todo-selection): Make sure TODO selection does
not change buffer position.

View File

@ -3319,7 +3319,7 @@ the documentation of `org-diary'."
(catch :skip
(save-match-data
(beginning-of-line)
(setq beg (point) end (progn (outline-next-heading) (point)))
(setq beg (point) end (save-excursion (outline-next-heading) (point)))
(when (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item end)
(goto-char (1+ beg))
(or org-agenda-todo-list-sublevels (org-end-of-subtree 'invisible))