0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-26 04:32:52 +00:00

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.
This commit is contained in:
Nicolas Goaziou 2014-02-25 17:49:22 +01:00
parent 96fe2dec3b
commit 66f3ba38c2

View file

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