Variable: org-trigger-hook

org-trigger-hook is a variable defined in org.el.gz.

Value

nil

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

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defvar org-trigger-hook nil
  "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")