From 69ebb265be118ea1a37afb9603c4582d25d33d09 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 10 Apr 2013 18:40:47 +0200 Subject: [PATCH] ox-icalendar.el (org-icalendar-export-current-agenda): Do not evaluate babel code blocks * ox-icalendar.el (org-icalendar-export-current-agenda): Do not evaluate babel code blocks. Thanks to Nicolas for directions about this. --- lisp/ox-icalendar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el index a5502241e..49299b014 100644 --- a/lisp/ox-icalendar.el +++ b/lisp/ox-icalendar.el @@ -897,7 +897,8 @@ The file is stored under the name chosen in "Export current agenda view to an iCalendar FILE. This function assumes major mode for current buffer is `org-agenda-mode'." - (let ((org-icalendar-combined-agenda-file file) + (let (org-export-babel-evaluate ; Don't evaluate Babel block + (org-icalendar-combined-agenda-file file) (marker-list ;; Collect the markers pointing to entries in the current ;; agenda buffer. -- 2.11.4.GIT