forked from mirrors/org-mode
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.
This commit is contained in:
parent
60864e851b
commit
1bc0623be2
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue