Next: , Previous: , Up: Standard Hooks   [Contents][Index]

22.1 Command Hooks

The hook functions are passed one argument which is the command name.

Hook: pre-command-hook

Called before invocation of each command. You can modify this-command here. In particular, if it’s set to nil in this hook, then the command won’t be executed.

Hook: post-command-hook

Called after each command is evaluated.