diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2009-09-24 21:48:58 +0100 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2009-09-24 21:49:08 +0100 |
commit | f24f2ea4100d0238a37ec9563a68b51aae56f990 (patch) | |
tree | 7374c6629430294ab5fe3f04d559b123389b3ace | |
parent | 6867751efec5237866e9d1700d7b1f5766d9df63 (diff) | |
download | org-mode-f24f2ea4100d0238a37ec9563a68b51aae56f990.tar.gz |
Run `org-follow-link-hook' after following any link types
-rwxr-xr-x | lisp/ChangeLog | 1 | ||||
-rw-r--r-- | lisp/org.el | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 530b844..6fcdce0 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a space after #+ as comments. + (org-open-at-point): Run `org-follow-link-hook' always. * org-latex.el (org-export-latex-emph-format): Use better commands to insert special characters in verbatim snippets. diff --git a/lisp/org.el b/lisp/org.el index 078c3b7..32ffc5f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8098,9 +8098,9 @@ application the system uses for this file type." (error "Abort")))) (t - (browse-url-at-point)))))) - (move-marker org-open-link-marker nil) - (run-hook-with-args 'org-follow-link-hook))) + (browse-url-at-point))))))) + (move-marker org-open-link-marker nil) + (run-hook-with-args 'org-follow-link-hook)) (defun org-offer-links-in-entry (&optional nth zero) "Offer links in the curren entry and follow the selected link. |