summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-01-12 11:50:37 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-01-12 11:50:37 +0100
commit871119986afc6fe7555eee474d77a125a8ac3b12 (patch)
tree32a8e53743cfe44cd144bef112d60aeafb893459
parent4bc21b135b24999a1ac89d42542428c7bd4def54 (diff)
parentf9596eb47219794ae66c29bf4a091c478ccf5830 (diff)
downloadorg-mode-871119986afc6fe7555eee474d77a125a8ac3b12.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index ea1607d..dea584a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10054,7 +10054,7 @@ a link."
(org-element-context)
'(clock comment comment-block footnote-definition
footnote-reference headline inline-src-block inlinetask
- keyword link node-property src-block timestamp)
+ keyword link node-property planning src-block timestamp)
t))
(type (org-element-type context))
(value (org-element-property :value context)))
@@ -10097,6 +10097,10 @@ a link."
(= (org-element-property :post-affiliated context)
(line-beginning-position)))))))
(org-footnote-action))
+ ;; On a planning line. Check if we are really on a timestamp.
+ ((and (eq type 'planning)
+ (org-in-regexp org-ts-regexp-both nil t))
+ (org-follow-timestamp-link))
;; On a clock line, make sure point is on the timestamp
;; before opening it.
((and (eq type 'clock)