[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 0b6f9f8677: Fix typo in `org-todo-log-state
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 0b6f9f8677: Fix typo in `org-todo-log-states' variable name |
Date: |
Wed, 12 Jul 2023 06:58:18 -0400 (EDT) |
branch: externals-release/org
commit 0b6f9f867774c06373051b1f2ce856ba1ebe80d8
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Fix typo in `org-todo-log-states' variable name
* doc/org-manual.org (Priorities):
* lisp/org.el (org-update-parent-todo-statistics): Fix incorrect
spelling of `org-todo-log-states' variable.
Reported-by: Evgenii Klimov <eugene.dev@lipklim.org>
Reported-by: Max Nikulin <manikulin@gmail.com>
Link:
https://list.orgmode.org/orgmode/e900a08d-11af-9106-423e-28a2befe813d@gmail.com/
---
doc/org-manual.org | 2 +-
lisp/org.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/org-manual.org b/doc/org-manual.org
index ea519ea3e1..ff3bfcf828 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -4562,7 +4562,7 @@ all children are done, you can use the following setup:
#+begin_src emacs-lisp
(defun org-summary-todo (n-done n-not-done)
"Switch entry to DONE when all subentries are done, to TODO otherwise."
- (let (org-log-done org-log-states) ; turn off logging
+ (let (org-log-done org-todo-log-states) ; turn off logging
(org-todo (if (= n-not-done 0) "DONE" "TODO"))))
(add-hook 'org-after-todo-statistics-hook #'org-summary-todo)
diff --git a/lisp/org.el b/lisp/org.el
index 923593bbb6..0043c0407a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -9709,7 +9709,7 @@ when there is a statistics cookie in the headline!
(defun org-summary-todo (n-done n-not-done)
\"Switch entry to DONE when all subentries are done, to TODO otherwise.\"
- (let (org-log-done org-log-states) ; turn off logging
+ (let (org-log-done org-todo-log-states) ; turn off logging
(org-todo (if (= n-not-done 0) \"DONE\" \"TODO\"))))")
(defvar org-todo-statistics-hook nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org 0b6f9f8677: Fix typo in `org-todo-log-states' variable name,
ELPA Syncer <=