[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] question about org-element-map missing link in caption
From: |
John Kitchin |
Subject: |
[O] question about org-element-map missing link in caption |
Date: |
Mon, 26 Jan 2015 19:13:52 -0500 |
In the following org document, org-element-map only finds one link, but
the buffer acts like there are two links. The free link is found, but
the link label buried in the caption is not found. However, it exports
correctly, and the caption link is clickable, so the buffer certainly
thinks it is a link. Is this expected behavior?
* test links
#+caption: some text label:test
| a | b |
| 1 | 3 |
label:test2
#+BEGIN_SRC emacs-lisp
(org-element-map (org-element-parse-buffer) 'link
(lambda (link)
(org-element-property :path link)))
#+END_SRC
#+RESULTS:
| test2 |
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
- [O] question about org-element-map missing link in caption,
John Kitchin <=