Procházet zdrojové kódy

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 před 13 roky
rodič
revize
d186577678
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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