From 3bf19b30f06a32b6ad75b368f8c51be69c53fa3f Mon Sep 17 00:00:00 2001 From: Richard Lawrence Date: Thu, 21 Jan 2016 17:28:58 -0800 Subject: [PATCH] ox-icalendar: Fix timezone export bug * ox-icalendar.el (org-icalendar-export-current-agenda): Correct argument order in call to org-icalendar--vcalendar (timezone should be third, description fourth). TINYCHANGE --- lisp/ox-icalendar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el index be2f3e638..a7cb4fb08 100644 --- a/lisp/ox-icalendar.el +++ b/lisp/ox-icalendar.el @@ -909,8 +909,8 @@ This function assumes major mode for current buffer is (org-icalendar--vcalendar org-icalendar-combined-name user-full-name - org-icalendar-combined-description (or (org-string-nw-p org-icalendar-timezone) (cadr (current-time-zone))) + org-icalendar-combined-description contents))) (run-hook-with-args 'org-icalendar-after-save-hook file)))