Variable: org-todo-state-tags-triggers

org-todo-state-tags-triggers is a customizable variable defined in org.el.gz.

Value

nil

Documentation

Tag changes that should be triggered by TODO state changes.

This is a list. Each entry is

  (state-change (tag . flag) .......)

State-change can be a string with a state, and empty string to indicate the state that has no TODO keyword, or it can be one of the symbols todo or done, meaning any not-done or done state, respectively.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-todo-state-tags-triggers nil
  "Tag changes that should be triggered by TODO state changes.
This is a list.  Each entry is

  (state-change (tag . flag) .......)

State-change can be a string with a state, and empty string to indicate the
state that has no TODO keyword, or it can be one of the symbols `todo'
or `done', meaning any not-done or done state, respectively."
  :group 'org-todo
  :group 'org-tags
  :type '(repeat
	  (cons (choice :tag "When changing to"
			(const :tag "Not-done state" todo)
			(const :tag "Done state" done)
			(string :tag "State"))
		(repeat
		 (cons :tag "Tag action"
		       (string :tag "Tag")
		       (choice (const :tag "Add" t) (const :tag "Remove" nil)))))))