فهرست منبع

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

* org.el (org-entry-put): Fix bug when updating the last clock.
Bastien Guerry 13 سال پیش
والد
کامیت
d186577678
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -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