summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Lawrence <richard.lawrence@berkeley.edu>2016-01-21 17:28:58 -0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-01-22 22:58:51 +0100
commit3bf19b30f06a32b6ad75b368f8c51be69c53fa3f (patch)
tree73a9cd01c88a980aa1721c3bcfe98f75efdc5d4a
parent3dcd1a345fe2c671cf7490940d0c728b791f5cd3 (diff)
downloadorg-mode-3bf19b30f06a32b6ad75b368f8c51be69c53fa3f.tar.gz
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
-rw-r--r--lisp/ox-icalendar.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el
index be2f3e6..a7cb4fb 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)))