0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

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.
This commit is contained in:
Bastien Guerry 2012-09-27 23:29:01 +02:00
parent 453be213ce
commit 5501df1199

View file

@ -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))