Variable: org-speed-command-hook

org-speed-command-hook is a customizable variable defined in org-keys.el.gz.

Value

(org-speed-command-activate
 org-babel-speed-command-activate)

Documentation

Hook for activating speed commands at strategic locations.

Hook functions are called in sequence until a valid handler is found.

Each hook takes a single argument, a user-pressed command key which is also a self-insert-command from the global map.

Within the hook, examine the cursor position and the command key and return nil or a valid handler as appropriate. Handler could be one of an interactive command, a function, or a form.

Set org-use-speed-commands to non-nil value to enable this hook. The default setting is org-speed-command-activate.

This variable was added, or its default value changed, in Emacs 24.1.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-keys.el.gz
(defcustom org-speed-command-hook
  '(org-speed-command-activate org-babel-speed-command-activate)
  "Hook for activating speed commands at strategic locations.
Hook functions are called in sequence until a valid handler is
found.

Each hook takes a single argument, a user-pressed command key
which is also a `self-insert-command' from the global map.

Within the hook, examine the cursor position and the command key
and return nil or a valid handler as appropriate.  Handler could
be one of an interactive command, a function, or a form.

Set `org-use-speed-commands' to non-nil value to enable this
hook.  The default setting is `org-speed-command-activate'."
  :group 'org-structure
  :version "24.1"
  :type 'hook)