[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 505db97a8c: org-update-parent-todo-statistics: Fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 505db97a8c: org-update-parent-todo-statistics: Fix infinite loop after 4254a54f8 |
Date: |
Wed, 13 Mar 2024 06:59:10 -0400 (EDT) |
branch: externals/org
commit 505db97a8c3450dded51d4415b9f20e39d3ac691
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-update-parent-todo-statistics: Fix infinite loop after 4254a54f8
* lisp/org.el (org-update-parent-todo-statistics): Make sure that we
move to the end of updated cookie at the end of search loop, even when
the cookie has not been updated.
Reported-by: No Wayman <iarchivedmywholelife@gmail.com>
Link: https://orgmode.org/list/87le6pucnv.fsf@gmail.com
---
lisp/org.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/org.el b/lisp/org.el
index 40a100fd4e..6de5e63698 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9905,6 +9905,7 @@ statistics everywhere."
(max 1 cnt-all)))
(format "[%d/%d]" cnt-done cnt-all))
ndel (- (match-end 0) checkbox-beg))
+ (goto-char (match-end 0))
(unless (string-equal new (buffer-substring checkbox-beg
(match-end 0)))
(goto-char checkbox-beg)
(insert new)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org 505db97a8c: org-update-parent-todo-statistics: Fix infinite loop after 4254a54f8,
ELPA Syncer <=