Hi Adam, Adam Spiers <orgm...@adamspiers.org> writes:
> org-get-category can sometimes invoke org-refresh-category-properties > which can perform a re-search-forward which destroys the existing > match data. When called from org-agenda-get-todos, this can result in > its subsequent call to (match-beginning 2) to return nil, which when > passed as the first parameter to buffer-string causes the above error. I fixed this by saving match data in `org-get-category'. Thanks for spotting this! -- Bastien