emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to get to the link destination?


From: John Kitchin
Subject: Re: [O] How to get to the link destination?
Date: Tue, 21 Oct 2014 19:18:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (darwin)

Marcin Borkowski <address@hidden> writes:

that looks like a great way to me!

> Hi all,
>
> as in the subject.  I want to do something /at the destination of the
> link/ the point is at (more precisely: get some text property of that
> place).  This is what I came up with:
>
> (save-excursion
>   (org-open-at-point)
>   (get-text-property (point) :some-property))
>
> Is there a better/faster way, especially knowing that the link is an
> internal one?
>
> Best,

-- 
-----------------------------------
John Kitchin
Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]