summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2014-08-25 15:22:24 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2014-08-25 15:22:24 +0200
commitc33afd56837c2c518c6e96d9585a5475a2318ff5 (patch)
tree1eb18cad5cb51ce60294ed9689dd490a076dcea0
parent93694baf628841446d9eff878441b89a7706a3e6 (diff)
parente191a76ddd63845692b46fbc41f2bdb9eb688e5a (diff)
downloadorg-mode-c33afd56837c2c518c6e96d9585a5475a2318ff5.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-agenda.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index b13813b..7015ad6 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3359,7 +3359,7 @@ If AGENDA-BUFFER-NAME, use this as the buffer name for the agenda to write."
content)))
(find-file file)
(erase-buffer)
- (mapcar (lambda (s) (org-paste-subtree 1 s)) (reverse content))
+ (dolist (s content) (org-paste-subtree 1 s))
(write-file file)
(kill-buffer (current-buffer))
(message "Org file written to %s" file)))