org-trigger-hook

org-trigger-hook is a variable defined in `org.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Hook for functions that are triggered by a state change.

Each function gets as its single argument a property list with at
least the following elements:

(:type type-of-change :position pos-at-entry-start
:from old-state :to new-state)

Depending on the type, more properties may be present.

This mechanism is currently implemented for:

TODO state changes
------------------
:type todo-state-change
:from previous state (keyword as a string), or nil, or a symbol
'todo' or 'done', to indicate the general type of state.
:to new state, like in :from