summaryrefslogtreecommitdiff
path: root/lisp/org/ox-icalendar.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-11-20 13:12:18 -0500
committerKyle Meyer <kyle@kyleam.com>2021-11-20 13:12:18 -0500
commit0dd3883defc04ea02d2f77d79debf4e18157500d (patch)
tree5b5cce6254fa982056397067e40b94296fc494ae /lisp/org/ox-icalendar.el
parente3d5337970585d1e47a4942048edf8261ad5b781 (diff)
downloademacs-0dd3883defc04ea02d2f77d79debf4e18157500d.tar.gz
emacs-0dd3883defc04ea02d2f77d79debf4e18157500d.tar.bz2
emacs-0dd3883defc04ea02d2f77d79debf4e18157500d.zip
Update to Org 9.5-72-gc5d6656
Diffstat (limited to 'lisp/org/ox-icalendar.el')
-rw-r--r--lisp/org/ox-icalendar.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/org/ox-icalendar.el b/lisp/org/ox-icalendar.el
index 9170059156d..081a28317f6 100644
--- a/lisp/org/ox-icalendar.el
+++ b/lisp/org/ox-icalendar.el
@@ -280,6 +280,7 @@ re-read the iCalendar file.")
(footnote-definition . ignore)
(footnote-reference . ignore)
(headline . org-icalendar-entry)
+ (inner-template . org-icalendar-inner-template)
(inlinetask . ignore)
(planning . ignore)
(section . ignore)
@@ -805,6 +806,11 @@ END:VALARM\n"
;;;; Template
+(defun org-icalendar-inner-template (contents _)
+ "Return document body string after iCalendar conversion.
+CONTENTS is the transcoded contents string."
+ contents)
+
(defun org-icalendar-template (contents info)
"Return complete document string after iCalendar conversion.
CONTENTS is the transcoded contents string. INFO is a plist used