浏览代码

Fix 3a233aa

Thanks to Alexey Lebedeff for providing the fix.
Bastien Guerry 11 年之前
父节点
当前提交
8bab38bcba
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      lisp/org-clock.el

+ 3 - 2
lisp/org-clock.el

@@ -2708,8 +2708,9 @@ TIME:      The sum of all time spend in this tree, in minutes.  This time
 				     (match-string 2)))
 			   (org-make-org-heading-search-string
 				      (replace-regexp-in-string
-				       org-bracket-link-regexp
-				       "\\3"
+				       org-bracket-link-analytic-regexp
+				       (lambda (m) (or (match-string 3 m)
+						       (match-string 1 m)))
 				       (match-string 2)))))
 		    tsp (when timestamp
 			  (setq props (org-entry-properties (point)))