From e5d6bd0cc0ac17e05d059995e64e3f47b3c9826b Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Sat, 27 Jun 2009 23:39:09 +0200 Subject: [PATCH] Load org-icalendar when exporting agenda file to ics --- lisp/ChangeLog | 3 +++ lisp/org-agenda.el | 1 + 2 files changed, 4 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fbb78a8a7..f08d4cfbd 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-06-27 Carsten Dominik + * org-agenda.el (org-write-agenda): Make sure org-icalendar is + loaded. + * org.el (org-map-entries): No longer force `org-tags-match-list-sublevels' to t during a todo-only tags search. diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index f6553fc56..fd0b30e3b 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2157,6 +2157,7 @@ higher priority settings." (expand-file-name file)) (message "PDF written to %s" file)) ((string-match "\\.ics\\'" file) + (require 'org-icalendar) (let ((org-agenda-marker-table (org-create-marker-find-array (org-agenda-collect-markers)))