menu-bar-select-buffer-function

menu-bar-select-buffer-function is a variable defined in `menu-bar.el'.
Its value is
switch-to-buffer

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

Documentation:
Function to select the buffer chosen from the `Buffers' menu-bar menu.
It must accept a buffer as its only required argument.