mouse-leave-buffer-hook

mouse-leave-buffer-hook is a variable defined in `C source code'.
Its value is
nil

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

Documentation:
Hook to run when about to switch windows with a mouse command.
Its purpose is to give temporary modes such as Isearch mode
a way to turn themselves off when a mouse command switches windows.