org.el (org-todo): Fix regression: rename `state' to `org-state'.
* org.el (org-todo): Fix regression: rename `state' to `org-state'.
This commit is contained in:
parent
60b6f60dfe
commit
bbfd7881be
|
@ -11380,7 +11380,7 @@ For calling through lisp, arg is also interpreted in the following way:
|
||||||
;; It is now done, and it was not done before
|
;; It is now done, and it was not done before
|
||||||
(org-add-planning-info 'closed (org-current-effective-time))
|
(org-add-planning-info 'closed (org-current-effective-time))
|
||||||
(if (and (not dolog) (eq 'note org-log-done))
|
(if (and (not dolog) (eq 'note org-log-done))
|
||||||
(org-add-log-setup 'done state this 'findpos 'note)))
|
(org-add-log-setup 'done org-state this 'findpos 'note)))
|
||||||
(when (and org-state dolog)
|
(when (and org-state dolog)
|
||||||
;; This is a non-nil state, and we need to log it
|
;; This is a non-nil state, and we need to log it
|
||||||
(org-add-log-setup 'state org-state this 'findpos dolog)))
|
(org-add-log-setup 'state org-state this 'findpos dolog)))
|
||||||
|
|
Loading…
Reference in New Issue