浏览代码

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.
Bastien Guerry 13 年之前
父节点
当前提交
8c91f690a5
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lisp/org.el

+ 2 - 0
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)