Commit 126b903e authored by Bastien Guerry's avatar Bastien Guerry
Browse files

Fix bug in org-todo.

parent 0d224826
2012-04-01 Bastien Guerry <bzg@gnu.org>
* org.el (org-todo): Fix bug in `org-todo'.
2012-04-01 Eric Schulte <eric.schulte@gmx.com>
 
* ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
......
......@@ -11256,7 +11256,7 @@ For calling through lisp, arg is also interpreted in the following way:
(interpret (nth 1 ass))
(done-word (nth 3 ass))
(final-done-word (nth 4 ass))
(last-state (or this ""))
(org-last-state (or this ""))
(completion-ignore-case t)
(member (member this org-todo-keywords-1))
(tail (cdr member))
......@@ -11322,7 +11322,7 @@ For calling through lisp, arg is also interpreted in the following way:
(car tail))))
(state (or
(run-hook-with-args-until-success
'org-todo-get-default-hook state last-state)
'org-todo-get-default-hook state org-last-state)
state))
(next (if state (concat " " state " ") " "))
(change-plist (list :type 'todo-state-change :from this :to state
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment