Alan Schmitt writes:
> Thank you for the suggestion. I'm already doing something similar:
> #+begin_src emacs-lisp
> (let ((link (org-store-link nil))
> (name (org-element-property :raw-value (org-element-at-point
> ...)
> #+end_src
You can also use org-bracket-link-regexp, if you want
On 2015-11-16 10:45, Rasmus writes:
> Alan Schmitt writes:
>
>> Hello,
>>
>> I cannot seem to find in org.el a function that will return the
>> description part of a link. I'm probably missing it … Could someone tell
>> me if such a function exists?
>
> org-element-context on a link will give yo
Alan Schmitt writes:
> Hello,
>
> I cannot seem to find in org.el a function that will return the
> description part of a link. I'm probably missing it … Could someone tell
> me if such a function exists?
org-element-context on a link will give you what you want. It lives in
org-element, though
Hello,
I cannot seem to find in org.el a function that will return the
description part of a link. I'm probably missing it … Could someone tell
me if such a function exists?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated November 9, 2015, Mauna Loa Obs.): 399.06 pp