summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-03-20 09:44:56 +0100
committerBastien Guerry <bzg@altern.org>2014-03-20 09:44:56 +0100
commit8bab38bcbaab036a7c2c969a252cbb8ba41f101d (patch)
treede9cf4ee1e1c589381916420eaa2872ef95899ad
parent49da67d351b55c9325e2f587928d28631aa2755d (diff)
downloadorg-mode-8bab38bcbaab036a7c2c969a252cbb8ba41f101d.tar.gz
Fix 3a233aa
Thanks to Alexey Lebedeff for providing the fix.
-rw-r--r--lisp/org-clock.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 6a3951a..a777891 100644
--- a/lisp/org-clock.el
+++ b/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)))