소스 검색

Fix bug in `org-todo'.

s/state/org-state.
Bastien Guerry 13 년 전
부모
커밋
e74121b0cc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/org.el

+ 1 - 1
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