emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to get to the link destination?
@ 2014-10-21 14:12 Marcin Borkowski
  2014-10-21 23:18 ` John Kitchin
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2014-10-21 14:12 UTC (permalink / raw)
  To: Org mailing list

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,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-21 23:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21 14:12 How to get to the link destination? Marcin Borkowski
2014-10-21 23:18 ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).