Browse Source

Fix 3a233aa

Thanks to Alexey Lebedeff for providing the fix.
Bastien Guerry 11 years ago
parent
commit
8bab38bcba
1 changed files with 3 additions and 2 deletions
  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)))