Explorar o código

Fix 3a233aa

Thanks to Alexey Lebedeff for providing the fix.
Bastien Guerry %!s(int64=11) %!d(string=hai) anos
pai
achega
8bab38bcba
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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)))