org-element: Allow links in captions
commit934208ece1b74b7bc0e70bc07a3637a2e467a1fb
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 30 Sep 2012 21:56:00 +0000 (30 23:56 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 30 Sep 2012 21:57:45 +0000 (30 23:57 +0200)
tree3f8a1fd13b45cb7d144c1cd5c55eb7c703a1312c
parent324561944506eb1a5efcb2276cfef1383b76bc6e
org-element: Allow links in captions

* lisp/org-element.el (org-element-object-restrictions): Allow links
  in caption. Also allow inline-src-blocks and inline-babel-calls.
* contrib/lisp/org-e-ascii.el (org-e-ascii--unique-links): Handle
  links in captions.
(org-e-ascii--describe-links): Small refactoring.
(org-e-ascii-template--document-title): Handle links in document
properties.
contrib/lisp/org-e-ascii.el
lisp/org-element.el