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.
This commit is contained in:
Bastien Guerry 2013-04-10 18:40:47 +02:00
parent cfe28111ee
commit 69ebb265be
1 changed files with 2 additions and 1 deletions

View File

@ -897,7 +897,8 @@ The file is stored under the name chosen in
"Export current agenda view to an iCalendar FILE. "Export current agenda view to an iCalendar FILE.
This function assumes major mode for current buffer is This function assumes major mode for current buffer is
`org-agenda-mode'." `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 (marker-list
;; Collect the markers pointing to entries in the current ;; Collect the markers pointing to entries in the current
;; agenda buffer. ;; agenda buffer.