浏览代码

Merge branch 'maint' of orgmode.org:org-mode into maint

Bastien Guerry 11 年之前
父节点
当前提交
2aeb5f0cad
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      lisp/ox-icalendar.el

+ 1 - 3
lisp/ox-icalendar.el

@@ -964,9 +964,7 @@ files to build the calendar from."
 	     ;; BBDB anniversaries.
 	     (when (and org-icalendar-include-bbdb-anniversaries
 			(require 'org-bbdb nil t))
-	       (with-temp-buffer
-		 (org-bbdb-anniv-export-ical)
-		 (buffer-string)))))))
+	       (with-output-to-string (org-bbdb-anniv-export-ical)))))))
 	(run-hook-with-args 'org-icalendar-after-save-hook
 			    org-icalendar-combined-agenda-file))
     (org-release-buffers org-agenda-new-buffers)))