[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 713c15d852 1/2: org-todo-yesterday: Fix interactive
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 713c15d852 1/2: org-todo-yesterday: Fix interactive arg when in agenda buffer |
Date: |
Thu, 26 May 2022 00:57:52 -0400 (EDT) |
branch: externals/org
commit 713c15d85273d39809a30feea4487a6c5b2ce04b
Author: Aaron L. Zeng <me@bcc32.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-todo-yesterday: Fix interactive arg when in agenda buffer
* lisp/org.el (org-todo-yesterday): Fix an incorrect use of apply when
`org-todo-yesterday' intends to call `org-agenda-todo-yesterday' with
the same interactive arg. Before this change, the command incorrectly
set the todo state of the task to blank when called with C-u C-u C-u
in an agenda buffer (supposed to bypass any blocked
checkboxes/subtasks).
TINYCHANGE
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index d7da8efc46..0eb819f235 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8817,7 +8817,7 @@ nil or a string to be used for the todo mark." )
"Like `org-todo' but the time of change will be 23:59 of yesterday."
(interactive "P")
(if (eq major-mode 'org-agenda-mode)
- (apply 'org-agenda-todo-yesterday arg)
+ (org-agenda-todo-yesterday arg)
(let* ((org-use-effective-time t)
(hour (nth 2 (decode-time (org-current-time))))
(org-extend-today-until (1+ hour)))