|
| From: | Kyle Meyer |
| Subject: | Re: [O] How to get the link the point is on? |
| Date: | Thu, 25 Sep 2014 17:49:00 -0400 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Marcin Borkowski <address@hidden> wrote:
[...]
> 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).
There may be a better way, but I think below does what you want.
#+begin_src elisp
(defun org-display-link ()
(interactive)
(message "%s" (org-element-property :raw-link (org-element-context))))
#+end_src
--
Kyle
| [Prev in Thread] | Current Thread | [Next in Thread] |