org-element: Fix radio-target and radio link parsing
commit5174495ee6f8758109e6c009f8a351e79481d5b8
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 17 Mar 2014 09:17:20 +0000 (17 10:17 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 17 Mar 2014 09:24:43 +0000 (17 10:24 +0100)
treec0b9e2f79660351296a68d49717b1923e4991b6c
parent44095d483b4c2bcce295e6c537edfb7331ae23c3
org-element: Fix radio-target and radio link parsing

* lisp/org-element.el (org-element-link-parser): "radio" links have
  their path downcased to avoid introducing case mismatch with their
  relative radio target.  With this change it is also necessary to add
  contents to them, since `:path' property no longer matches real
  value of the link.
(org-element-radio-target-parser): Downcase value as explained above.
Store the initial value in a new `:raw-value' property.
lisp/org-element.el