diff options
author | Bastien Guerry <bzg@altern.org> | 2013-04-10 18:40:47 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-10 18:40:47 +0200 |
commit | 69ebb265be118ea1a37afb9603c4582d25d33d09 (patch) | |
tree | bd9e071f61f5580cf92dd6b9a7c9e424a6a3eb7a | |
parent | cfe28111ee108dd7606e916392c4988ab9382cdd (diff) | |
download | org-mode-69ebb265be118ea1a37afb9603c4582d25d33d09.tar.gz |
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.
-rw-r--r-- | lisp/ox-icalendar.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el index a550224..49299b0 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. |