summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-05-26 00:15:06 +0200
committerBastien Guerry <bzg@altern.org>2012-05-26 00:15:06 +0200
commit8c91f690a561113eee0d16cdb6e8afc6bcae2089 (patch)
tree8e85b906808d78f817f6e8026850600af2c3f750
parentf71d45a91304bbcfc0cba1f2be657d1d40862d49 (diff)
downloadorg-mode-8c91f690a561113eee0d16cdb6e8afc6bcae2089.tar.gz
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.
-rw-r--r--lisp/org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index cbbfadb..8a141cf 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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)