org-element: Properly parse headline properties
commitab145f0df553e0bb77795c946ff158d8c069f6e4
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 18 Jun 2014 21:28:19 +0000 (18 23:28 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 18 Jun 2014 21:28:19 +0000 (18 23:28 +0200)
treea20d17167174b6e0787eb482d1ef9c8b52449c44
parentb1dcd0fb0bec6b523c900bc1304fbe834c21697d
org-element: Properly parse headline properties

* lisp/org-element.el (org-element-headline-parser,
  org-element-inlinetask-parser): First find appropriate property
  drawer in order to read properties.

* testing/lisp/test-org-element.el (test-org-element/headline-properties):
  Add tests.

Thanks to Sébastien Vauban for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/87701
lisp/org-element.el
testing/lisp/test-org-element.el