org-element: Fix infloop in cache
commit3c14db868574c97eff0eb0df7a72a618d5517292
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 20 Jul 2014 15:50:23 +0000 (20 17:50 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 20 Jul 2014 17:09:52 +0000 (20 19:09 +0200)
tree092af2b0742199705e0519aa82fcd1b72f7c8667
parent7bd8fafe7aaca7ee5cd7576b53b526e4b912d11e
org-element: Fix infloop in cache

* lisp/org-element.el (org-element--cache-process-request): Take into
  consideration changes to come so as to avoid parsing elements with
  false beginning positions.
(org-element--cache-sync): Change signature.

Thanks to Thorsten Jolitz for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/88673
lisp/org-element.el