lisp/ox-icalendar.el (org-icalendar--rrule): Add docstring

This commit is contained in:
Ihor Radchenko 2023-12-09 12:14:00 +01:00
parent 478576749d
commit 3c714d7b32
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 2 additions and 0 deletions

View File

@ -769,6 +769,8 @@ inlinetask within the section."
contents))))
(defun org-icalendar--rrule (unit value)
"Format RRULE icalendar entry for UNIT frequency and VALUE interval.
UNIT is a symbol `hour', `day', `week', `month', or `year'."
(format "RRULE:FREQ=%s;INTERVAL=%d"
(cl-case unit
(hour "HOURLY") (day "DAILY") (week "WEEKLY")