1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-25 07:27:57 +00:00

org.el (org-return): Follow time-stamp links when point is an a time-stamp.

* org.el (org-return): Follow time-stamp links when point is
an a time-stamp.

Thanks to Samuel Wales for suggesting this.
This commit is contained in:
Bastien Guerry 2012-05-26 00:15:06 +02:00
parent f71d45a913
commit 8c91f690a5

View File

@ -18923,6 +18923,8 @@ See the individual commands for more information."
(if (org-looking-back org-list-end-re)
(org-indent-line-function)
(org-indent-line-to ind)))))
((and org-return-follows-link (org-at-timestamp-p t))
(org-follow-timestamp-link))
((and org-return-follows-link
(let ((tprop (get-text-property (point) 'face)))
(or (eq tprop 'org-link)