From 9d16365c201201679b190c601c8d32e06530a21a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 8 Jul 2012 15:40:34 -0500 Subject: [PATCH] let `org-agenda-files' when making mobile agenda --- lisp/org-mobile.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 4681777a7..49398377f 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -318,7 +318,9 @@ create all custom agenda views, for upload to the mobile phone." (org-mobile-check-setup) (org-mobile-prepare-file-lists) (message "Creating agendas...") - (let ((inhibit-redisplay t)) (org-mobile-create-sumo-agenda)) + (let ((inhibit-redisplay t) + (org-agenda-files (mapcar 'car org-mobile-files-alist))) + (org-mobile-create-sumo-agenda)) (message "Creating agendas...done") (org-save-all-org-buffers) ; to save any IDs created by this process (message "Copying files...")