branch: externals/org
commit 3c714d7b3224ff41b870facd8729600324db8003
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    lisp/ox-icalendar.el (org-icalendar--rrule): Add docstring
---
 lisp/ox-icalendar.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el
index be9ac31694..0f737aacef 100644
--- a/lisp/ox-icalendar.el
+++ b/lisp/ox-icalendar.el
@@ -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")

Reply via email to