summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-03-06 04:17:08 +0000
committerCarsten Dominik <carsten.dominik@gmail.com>2011-04-15 13:53:10 +0200
commit1bc0623be2da3da9789d526efb3b24f6d295fbbc (patch)
treeae96ec7ba384be760ea7dd5aaede3e44341566de
parent60864e851bbd67751299877de4a368c8a78e9824 (diff)
downloadorg-mode-1bc0623be2da3da9789d526efb3b24f6d295fbbc.tar.gz
org mobile - call pre hooks earlier
* lisp/org-mobile.el (org-mobile-push): Move call to hook, make it the first thing of the push operation.
-rw-r--r--lisp/org-mobile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 83462f0..332ec18 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -305,9 +305,9 @@ create all custom agenda views, for upload to the mobile phone."
(org-agenda-redo-command org-agenda-redo-command))
(save-excursion
(save-window-excursion
+ (run-hooks 'org-mobile-pre-push-hook)
(org-mobile-check-setup)
(org-mobile-prepare-file-lists)
- (run-hooks 'org-mobile-pre-push-hook)
(message "Creating agendas...")
(let ((inhibit-redisplay t)) (org-mobile-create-sumo-agenda))
(message "Creating agendas...done")