org-element: Fix cache bug
commitfd5edd35ae33ef9fbd15a8e4413455ce99f96007
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 11 Jan 2014 21:31:53 +0000 (11 22:31 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 11 Jan 2014 21:31:53 +0000 (11 22:31 +0100)
tree478731141ed7ab6d044b89cb71ee6fc266594ee5
parenta4b1fa7ca1bf63075c29a89f1379a4726313db68
org-element: Fix cache bug

* lisp/org-element.el (org-element-cache-get): Return correct cached
  element when point is at the beginning of an item.
lisp/org-element.el