org-element: Fix smart quotes in TITLE
commit8e1386cead0e4296f7bb063d07d64dd95ec0b231
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 1 Feb 2014 21:51:35 +0000 (1 22:51 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 1 Feb 2014 22:25:47 +0000 (1 23:25 +0100)
treedd3d20bd36746a92176755111192fa236b3408d6
parentac2f516edf90e9631f069c08294fb11ecf42b231
org-element: Fix smart quotes in TITLE

* lisp/org-element.el (org-element-interpret-data): Do not remove
  properties by side-effect when interpreting a string, as it also
  removes them from the parse tree, making the string unusable without
  its :parent property.

If text properties get in the way, it is also possible to use
`substring-no-properties' but then, a compatibility function would be
required for XEmacs.
lisp/org-element.el