summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2014-02-25 17:49:22 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2014-02-25 17:49:22 +0100
commit66f3ba38c2b08dea909d2bfdef7b9cd997e5b613 (patch)
treedb073f436177730f31fffc211cfb572ac85813bf
parent96fe2dec3b281834598fdfa2b7d2f96ce35c8777 (diff)
downloadorg-mode-66f3ba38c2b08dea909d2bfdef7b9cd997e5b613.tar.gz
Fix `org-open-at-point' on planning lines
* lisp/org.el (org-open-at-point): Open timestamps on planning lines. This is a regression introduced in fc9ce8.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 3800d80..b5b7d0e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10482,7 +10482,7 @@ is used internally by `org-open-link-from-string'."
(require 'org-attach)
(org-attach-reveal 'if-exists))))
((run-hook-with-args-until-success 'org-open-at-point-functions))
- ((eq type 'timestamp) (org-follow-timestamp-link))
+ ((memq type '(planning timestamp)) (org-follow-timestamp-link))
;; On tags within a headline or an inlinetask.
((save-excursion (beginning-of-line)
(and (looking-at org-complex-heading-regexp)