org-element: Headlines properties from property drawer are upcased
commitae5932282d44742d932d40136edf441bc18609a9
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 17 Feb 2013 22:36:44 +0000 (17 23:36 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 17 Feb 2013 23:01:52 +0000 (18 00:01 +0100)
treea78c8b0dd08c7475ceccee0f926383e6dd9a6102
parent45442fbfb765239cbf79baf88e418c4746cbddd4
org-element: Headlines properties from property drawer are upcased

* lisp/org-element.el (org-element-headline-parser,
  org-element-inlinetask-parser): Upcase properties.  This is done to
  avoid confusion between properties from parser (e.g. `:end') and
  properties from the property drawer (e.g. :END:).

In particular, it means that :CUSTOM_ID: property is accessed through:

  (org-element-property :CUSTOM_ID headline)
lisp/org-element.el