org-element: Slightly change object cache
commit7fca554f434c1659adb8a931eec590784a217e86
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 31 Mar 2014 20:51:05 +0000 (31 22:51 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 31 Mar 2014 20:56:25 +0000 (31 22:56 +0200)
treeb329ebb903534e9e18cc08e7bbe2c6ce104bbaf3
parentf57b2d71414fe195ee98ffb2531fa1423e8d70bf
org-element: Slightly change object cache

* lisp/org-element.el (org-element--cache-objects):
(org-element-context): Simplify structure of object cache.

This change avoids relying on buffer positions and artificial keys.
lisp/org-element.el