forked from mirrors/org-mode
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:
parent
cfe28111ee
commit
69ebb265be
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue