Variable: org-ctrl-c-ctrl-c-hook

org-ctrl-c-ctrl-c-hook is a variable defined in org.el.gz.

Value

nil

Documentation

Hook for functions attaching themselves to C-c C-c.

This can be used to add additional functionality to the C-c C-c key which executes context-dependent commands. This hook is run before any other test, while org-ctrl-c-ctrl-c-final-hook is run after the last test.

Each function will be called with no arguments. The function must check if the context is appropriate for it to act. If yes, it should do its thing and then return a non-nil value. If the context is wrong, just do nothing and return nil.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defvar org-ctrl-c-ctrl-c-hook nil
  "Hook for functions attaching themselves to `C-c C-c'.

This can be used to add additional functionality to the `C-c C-c'
key which executes context-dependent commands.  This hook is run
before any other test, while `org-ctrl-c-ctrl-c-final-hook' is
run after the last test.

Each function will be called with no arguments.  The function
must check if the context is appropriate for it to act.  If yes,
it should do its thing and then return a non-nil value.  If the
context is wrong, just do nothing and return nil.")