|
From: | Bastien |
Subject: | Re: [O] auto-push to mobile (but only when editing org buffer) |
Date: | Wed, 15 Aug 2012 03:36:15 +0200 |
User-agent: | Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) |
Hi Ken, Ken Mankoff <address@hidden> writes: > How can I wrap that to > only run when the active buffer is in Org Mode? (run-at-time "00:10" 10 (lambda () (if (eq major-mode 'org-mode) (org-mobile-push)))) HTH, -- Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |