org-element: Fix interpretation of empty items
commit0aa0fdd9713cd06cf18bc3827416aeb26d2b4cc6
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 5 Jul 2013 22:39:28 +0000 (6 00:39 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 5 Jul 2013 22:39:28 +0000 (6 00:39 +0200)
tree1f2916fab7c02c03cca2f567f7bdf3bf06abf5bd
parente5630add2768bee27351fcec06cb395aa9e61d31
org-element: Fix interpretation of empty items

* lisp/org-element.el (org-element-item-interpreter): This patch fixes
  "(wrong-type-argument arrayp nil)" error when trying to interpret
  empty items.
* testing/lisp/test-org-element.el: Add test.
lisp/org-element.el
testing/lisp/test-org-element.el