[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] automatically org-mobile-push/pull ?
From: |
Suvayu Ali |
Subject: |
Re: [Orgmode] automatically org-mobile-push/pull ? |
Date: |
Thu, 11 Nov 2010 01:31:41 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.6 |
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.