org-element: Fix parsing of links expanded from an abbreviation
commitbc4351ce0d4a4995c83f1af6778fb5dd7bb9ae89
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 18 Dec 2012 20:52:06 +0000 (18 21:52 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 18 Dec 2012 20:59:05 +0000 (18 21:59 +0100)
tree453ab9d00f0767c7aed3e2daaa1cf52954e1c1e3
parent76cf2538bb886aef49badaec8472e5743ad90770
org-element: Fix parsing of links expanded from an abbreviation

* lisp/org-element.el (org-element-object-variables): New variable.
(org-element-parse-secondary-string): Copy some buffer-local variables
to the temporary buffer created to parse the string so links can still
be properly expanded.
(org-element-link-parser): Link expansion and translation are applied
transparently for the parser.
lisp/org-element.el