org.el (org-entry-put): Fix bug when updating the last clock

* org.el (org-entry-put): Fix bug when updating the last clock.
This commit is contained in:
Bastien Guerry 2012-09-19 11:39:32 +02:00
parent f3202903d6
commit d186577678
1 changed files with 1 additions and 1 deletions

View File

@ -14773,7 +14773,7 @@ and the new value.")
(org-set-tags nil 'align))
((equal property "CLOCKSUM")
(if (not (re-search-forward
(concat org-clock-string "\\]--\\(\\[[^]]+\\]\\)") nil t))
(concat org-clock-string ".*\\]--\\(\\[[^]]+\\]\\)") nil t))
(error "Cannot find a clock log")
(goto-char (- (match-end 1) 2))
(cond