[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Fix org-clock-load
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] Fix org-clock-load |
Date: |
Tue, 20 Dec 2016 18:01:57 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Matt Lundin <address@hidden> writes:
> Since commit fda64f1ae2110175662b52daa3a5ec0f967f0c0d on November 6,
> org-clock-load no longer restores clocks in org-clock-persist-file. The
> contents of the file look like this:
>
> (setq org-clock-stored-history '(("/home/matt/org/inbox.org" . 39479)
> ("/home/matt/org/reading.org" . 63478)))
>
> The files both exist; the position information is correct; and
> org-clock-persist is t. And yet after calling org-clock-load,
> org-clock-history, org-clock-loaded, and org-clock-stored-history remain
> nil.
>
> The problem, it seems, is that the logic/order of the if statement was
> reversed in the commit above. The attached patch should fix the issue.
Applied. Thank you.
Regards,
--
Nicolas Goaziou