Browse Source

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.
Nicolas Goaziou 11 years ago
parent
commit
66f3ba38c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
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)