[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to get the link the point is on?
From: |
Rasmus |
Subject: |
Re: [O] How to get the link the point is on? |
Date: |
Thu, 25 Sep 2014 23:41:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Marcin Borkowski <address@hidden> writes:
> Hi list,
>
> my question is as in subject. It is done by org-open-at-point
> (somehow), but the logic seems to be buried in that function. What I'd
> like to have is a function that would just extract the link portion
> (which is normally invisible) and displayed it in the echo area
> (something like hovering over a link in a web browser).
>
> I skimmed through org.el, and either I couldn't find a function which
> does it, or this email is a feature request;).
If point is on a link you can
(org-element-property :raw-link (org-element-context))
Hope it helps,
Rasmus
--
May the Force be with you