[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] refresh from google calendar before showing agenda
From: |
Gyro Funch |
Subject: |
Re: [O] refresh from google calendar before showing agenda |
Date: |
Wed, 21 Jun 2017 08:38:16 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 6/21/2017 7:54 AM, Eric S Fraga wrote:
> On Wednesday, 21 Jun 2017 at 13:33, Gyro Funch wrote:
>> Unfortunately, I am a newbie with elisp, so am not sure of the best
>> way to accomplish this?
>
> You could possibly *advice* the agenda dispatch command. See "Advising
> Named Functions" in the Elisp info manual.
>
Thank you for the advice. It was very helpful.
Though perhaps not optimal, the following seems to work:
(advice-add 'org-agenda :before #'org-gcal-fetch)
-gyro