summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-05-24 11:33:00 +0200
committerBastien Guerry <bzg@altern.org>2012-05-24 11:33:00 +0200
commitbe8d54509299d14a9584063bd0590e630951e257 (patch)
treea1f1931ec795dda4e54aae73ed0cbda5a11be311
parent5d1c7e741b193a597295cb89bac22fc47decbb0d (diff)
downloadorg-mode-be8d54509299d14a9584063bd0590e630951e257.tar.gz
Allow to open the agenda from a timestamp in a headline.
* org.el (org-open-at-point): Allow to open the agenda from an active or inactive timestamp in a headline. TINYCHANGE Thanks to Ingo Lohmar for this patch.
-rw-r--r--lisp/org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 0b00851..a2e5387 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9606,6 +9606,7 @@ application the system uses for this file type."
(org-remove-occur-highlights nil nil t)
(cond
((and (org-at-heading-p)
+ (not (org-at-timestamp-p t))
(not (org-in-regexp
(concat org-plain-link-re "\\|"
org-bracket-link-regexp "\\|"