|
From: | Richard Riley |
Subject: | [O] org mobile - pre hooks |
Date: | Thu, 03 Mar 2011 22:32:22 +0100 |
User-agent: | Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) |
Could I suggest that org-mobile-pre-push-hook is processed at the start of the org-mobile-push function before the checks? That way it can be used to properly setup mobile e.g using auth-source for the mobile password. (add-hook 'org-mobile-pre-push-hook '(lambda() (setq org-mobile-encryption-password (funcall (plist-get (car (auth-source-search :host '("orgmobile"))) ':secret)))))
[Prev in Thread] | Current Thread | [Next in Thread] |