Allow to follow internal links from the agenda
commit8477a4b215af642d64e51f23f8d1bb84e0253d40
authorBastien Guerry <bzg@altern.org>
Sat, 29 Dec 2012 08:20:35 +0000 (29 09:20 +0100)
committerBastien Guerry <bzg@altern.org>
Sat, 29 Dec 2012 08:20:35 +0000 (29 09:20 +0100)
treeb3ebbdf6f213d2948803f039ecdd727d832599d4
parent43a242c44d6af058559b6d13fce3bb6c460edd1c
Allow to follow internal links from the agenda

* org-agenda.el (org-agenda-open-link): Allow to open an
internal link by using the new `org-offer-links-in-entry'
function.

* org.el (org-offer-links-in-entry): Do not open the link
directly through `org-open-link-from-string', only offer to
select a link and return a cons with the link (as a string)
and the end of entry.
(org-open-at-point): Use `org-offer-links-in-entry' correctly.

Thanks to Memnon Anon for reporting this.
lisp/org-agenda.el
lisp/org.el