Slawomir Grochowski <[email protected]> writes:

> Hi Ihor and everyone,
>
> When trying to mark a repeating task as DONE from the agenda, Org throws
> an error:
>
>     user-error: No Org agenda currently displayed
>
> This happens on current main (commit c812866f3) and was introduced in
> commit c14fa8a07 ("org-agenda-todo: Add more visual feedback on repeating 
> tasks").
> The attached patch fixes this by:                                             
>                                                                               
>                                                                     
> ...
> - Updating `org-agenda-check-type` to respect ERROR when `org-agenda-type` is 
> nil.                                                                          
>                                                                               
>                                             
> - In `org-agenda-todo`, capturing whether the current entry belongs to an     
>                                                                               
>                                                                     
>   agenda component via `(eq (org-get-at-bol 'org-agenda-type) 'agenda)`       
>                                                                               
>                                                                     

Thanks!
Applied, onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4f8363e1

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to