summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-04-02 11:27:41 +0200
committerBastien Guerry <bzg@altern.org>2012-04-02 11:27:41 +0200
commite74121b0cc71f9b5a00780b5d08fd5608dcd0004 (patch)
treef0a476814f4ec5af4a443e7c93ac3affdf4a0860
parent3658686f59399b6efe206ff32626739666f5eeb6 (diff)
downloadorg-mode-e74121b0cc71f9b5a00780b5d08fd5608dcd0004.tar.gz
Fix bug in `org-todo'.
s/state/org-state.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 4f6e8e1..cc90b05 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