org-element: Fix cache error on empty drawers
commit6eb9827d53fd40927dbca3856dd3d18e051a6b39
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 11 Sep 2014 21:19:22 +0000 (11 23:19 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 11 Sep 2014 21:19:22 +0000 (11 23:19 +0200)
tree6a4846a366fbad914012c9bfb2c5fc402d6dfcba
parent3d45b4285bbeacca85e79b3bc5ea1e485e91e872
org-element: Fix cache error on empty drawers

* lisp/org-element.el (org-element--cache-for-removal): Handle case
  when greater element is totally empty.

Thanks to Malcolm Purvis for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/90639
lisp/org-element.el