summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2009-09-24 21:48:58 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2009-09-24 21:49:08 +0100
commitf24f2ea4100d0238a37ec9563a68b51aae56f990 (patch)
tree7374c6629430294ab5fe3f04d559b123389b3ace
parent6867751efec5237866e9d1700d7b1f5766d9df63 (diff)
downloadorg-mode-f24f2ea4100d0238a37ec9563a68b51aae56f990.tar.gz
Run `org-follow-link-hook' after following any link types
-rwxr-xr-xlisp/ChangeLog1
-rw-r--r--lisp/org.el6
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.