* org-agenda.el (org-agenda-get-todos): Properly set `category-pos'.

* org-agenda.el (org-agenda-get-todos): Properly set
`category-pos'.

Thanks to Noorul Islam for this patch.
This commit is contained in:
Bastien Guerry 2011-08-24 10:17:09 +02:00
parent 0019b6f193
commit fc4628ef56
1 changed files with 1 additions and 0 deletions

View File

@ -4607,6 +4607,7 @@ the documentation of `org-diary'."
(goto-char (match-beginning 1))
(setq marker (org-agenda-new-marker (match-beginning 0))
category (org-get-category)
category-pos (get-text-property (point) 'org-category-position)
txt (match-string 1)
tags (org-get-tags-at (point))
txt (org-format-agenda-item "" txt category tags)