"Jacob S. Gordon" <[email protected]> writes:

> Hello everyone,
>
> When the allowed priorities only span a single value, e.g.
>
> (setopt org-priority-highest 1
>         org-priority-lowest  1
>         org-priority-default 1
>         org-icalendar-include-todo t)
>
> iCalendar export divides by zero when mapping them to the range 1–9,
> which leads to an error e.g. ‘C-c C-e c f’
> (‘org-icalendar-export-to-ics’) on
>
> * TODO Task
>
> I’ve attached a patch which maps these singleton ranges to the highest
> priority (1).

Thank you for the fix and unit test -- looks good to me. I merged your patch.

Reply via email to