pre-command-hook

pre-command-hook is a variable defined in `C source code'.
Its value is
(tooltip-hide eldoc-pre-command-refresh-echo-area)

  • This variable may be risky if used as a file-local variable.

Documentation:
Normal hook run before each command is executed.
If an unhandled error happens in running this hook,
the function in which the error occurred is unconditionally removed, since
otherwise the error might happen repeatedly and make Emacs nonfunctional.