org-element: Do not trust a stored request after cache sync
commitba9c43fc816134996e4a27bf7e96a9990541d990
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 30 Jun 2014 13:34:40 +0000 (30 15:34 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 30 Jun 2014 21:44:51 +0000 (30 23:44 +0200)
tree96030f88d0b6279ce8465dd737cebb4f396cdf29
parent81bfa7a05b1511f54a9e7eb448ab271cd6d63063
org-element: Do not trust a stored request after cache sync

* lisp/org-element.el (org-element--cache-submit-request): Do not
  trust a stored request after calling `org-element--cache-sync' since
  it may as well not exist anymore (i.e., the synchronization was
  complete).
lisp/org-element.el