From e74121b0cc71f9b5a00780b5d08fd5608dcd0004 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Mon, 2 Apr 2012 11:27:41 +0200 Subject: [PATCH] Fix bug in `org-todo'. s/state/org-state. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 4f6e8e198..cc90b0532 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11322,7 +11322,7 @@ For calling through lisp, arg is also interpreted in the following way: (car tail)))) (org-state (or (run-hook-with-args-until-success - 'org-todo-get-default-hook state org-last-state) + 'org-todo-get-default-hook org-state org-last-state) org-state)) (next (if org-state (concat " " org-state " ") " ")) (change-plist (list :type 'todo-state-change :from this :to org-state