aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastien Guerry2012-04-01 20:37:50 +0200
committerBastien Guerry2012-04-01 20:37:50 +0200
commit126b903e70ec05b2c77125f6a9a4fe956b659459 (patch)
tree9cb180dbe9fd756a76c03d73dfdcb969bd5cbbe7
parent0d224826228ee15f0ab60a138a1c01f735c48c29 (diff)
downloademacs-126b903e70ec05b2c77125f6a9a4fe956b659459.tar.gz
emacs-126b903e70ec05b2c77125f6a9a4fe956b659459.zip
Fix bug in org-todo.
-rw-r--r--lisp/org/ChangeLog4
-rw-r--r--lisp/org/org.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog
index a5e33f1ea9e..a7c2e0dbd66 100644
--- a/lisp/org/ChangeLog
+++ b/lisp/org/ChangeLog
@@ -1,3 +1,7 @@
12012-04-01 Bastien Guerry <bzg@gnu.org>
2
3 * org.el (org-todo): Fix bug in `org-todo'.
4
12012-04-01 Eric Schulte <eric.schulte@gmx.com> 52012-04-01 Eric Schulte <eric.schulte@gmx.com>
2 6
3 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled 7 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
diff --git a/lisp/org/org.el b/lisp/org/org.el
index 85d8d1efb18..c3e92460417 100644
--- a/lisp/org/org.el
+++ b/lisp/org/org.el
@@ -11256,7 +11256,7 @@ For calling through lisp, arg is also interpreted in the following way:
11256 (interpret (nth 1 ass)) 11256 (interpret (nth 1 ass))
11257 (done-word (nth 3 ass)) 11257 (done-word (nth 3 ass))
11258 (final-done-word (nth 4 ass)) 11258 (final-done-word (nth 4 ass))
11259 (last-state (or this "")) 11259 (org-last-state (or this ""))
11260 (completion-ignore-case t) 11260 (completion-ignore-case t)
11261 (member (member this org-todo-keywords-1)) 11261 (member (member this org-todo-keywords-1))
11262 (tail (cdr member)) 11262 (tail (cdr member))
@@ -11322,7 +11322,7 @@ For calling through lisp, arg is also interpreted in the following way:
11322 (car tail)))) 11322 (car tail))))
11323 (state (or 11323 (state (or
11324 (run-hook-with-args-until-success 11324 (run-hook-with-args-until-success
11325 'org-todo-get-default-hook state last-state) 11325 'org-todo-get-default-hook state org-last-state)
11326 state)) 11326 state))
11327 (next (if state (concat " " state " ") " ")) 11327 (next (if state (concat " " state " ") " "))
11328 (change-plist (list :type 'todo-state-change :from this :to state 11328 (change-plist (list :type 'todo-state-change :from this :to state