Thanks everyone.  I will try to customize it.

soichi

2010/11/11 Suvayu Ali <fatkasuvayu+linux@gmail.com>
Hi Soichi,


On Thursday 11 November 2010 01:11 AM, ishi soichi wrote:
Hi. Is there anyway to execute automatically "org-mobile-push/pull" ?

For example, when starting Emacs, "org-mobile-pull" is done.  And when
killing Emacs, "org-mobile-push".


You can customise these hooks,

(add-hook 'after-init-hook 'org-mobile-pull)
(add-hook 'kill-emacs-hook 'org-mobile-push)

And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el).

Soichi

Hope this helps.

--
Suvayu

Open source is the future. It sets us free.


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode