Przeglądaj źródła

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 lat temu
rodzic
commit
d186577678
1 zmienionych plików z 1 dodań i 1 usunięć
  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