From 5501df119990521e8acb6954c38efc855447db39 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 27 Sep 2012 23:29:01 +0200 Subject: [PATCH] org.el (org-open-at-point): Don't follow timestamp within bracket links * org.el (org-open-at-point): Don't follow timestamp within bracket links. --- lisp/org.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index ee316c431..465993126 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9778,7 +9778,9 @@ application the system uses for this file type." (or (org-offer-links-in-entry arg) (progn (require 'org-attach) (org-attach-reveal 'if-exists)))) ((run-hook-with-args-until-success 'org-open-at-point-functions)) - ((org-at-timestamp-p t) (org-follow-timestamp-link)) + ((and (org-at-timestamp-p t) + (not (org-in-regexp org-bracket-link-regexp))) + (org-follow-timestamp-link)) ((and (or (org-footnote-at-reference-p) (org-footnote-at-definition-p)) (not (org-in-regexp org-bracket-link-regexp))) (org-footnote-action))