diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-02-03 16:58:44 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-02-03 16:58:44 +0100 |
commit | 2d87c80bce38f8c7dba1a34883dfac53e0ff28a3 (patch) | |
tree | fa8f1da130a85afc46ab59648ee243c4f22da3ba | |
parent | d16b7cd8a79905d95fc932bf302aa548a2d313fb (diff) | |
download | org-mode-2d87c80bce38f8c7dba1a34883dfac53e0ff28a3.tar.gz |
Fix bug with opening a radio link in headlines
-rwxr-xr-x | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/org.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a9d31d5..b6e9a28 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-02-03 Carsten Dominik <carsten.dominik@gmail.com> + + * org.el (org-open-at-point): Also check for text property + org-linked-text before offering collected links. + 2010-02-03 Stephen Eglen <stephen@gnu.org> * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file): diff --git a/lisp/org.el b/lisp/org.el index f196a44..cb91ae3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8388,7 +8388,8 @@ application the system uses for this file type." (concat org-plain-link-re "\\|" org-bracket-link-regexp "\\|" org-angle-link-re "\\|" - "[ \t]:[^ \t\n]+:[ \t]*$")))) + "[ \t]:[^ \t\n]+:[ \t]*$"))) + (not (get-text-property (point) 'org-linked-text))) (or (org-offer-links-in-entry in-emacs) (progn (require 'org-attach) (org-attach-reveal 'if-exists)))) ((org-at-timestamp-p t) (org-follow-timestamp-link)) |