Previous: Menu Accelerators, Up: Menus [Contents][Index]
The following options control how the ‘Buffers’ menu is displayed. This is a list of all (or a subset of) the buffers currently in existence, and is updated dynamically.
This user option holds the maximum number of entries which may appear on
the ‘Buffers’ menu. If this is 10, then only the ten
most-recently-selected buffers will be shown. If this is nil
,
then all buffers will be shown. Setting this to a large number or
nil
will slow down menu responsiveness.
This function returns a string to represent buffer in the
‘Buffers’ menu. nil
means the buffer shouldn’t be listed.
You can redefine this.
If true, the ‘Buffers’ menu will contain several commands, as submenus of each buffer line. If this is false, then there will be only one command: select that buffer.
This user option holds the function to call to select a buffer from the
‘Buffers’ menu. switch-to-buffer
is a good choice, as is
pop-to-buffer
.