Variable: buffers-menu-max-size

buffers-menu-max-size is a customizable variable defined in menu-bar.el.gz.

Value

15

Documentation

Maximum number of entries which may appear on the Buffers menu.

If this is a number, only that many most-recently-selected buffers are shown. If this is nil, all buffers are shown.

This variable was added, or its default value changed, in Emacs 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
;;; Buffers Menu

;; Increasing this more might be problematic on TTY frames.  See Bug#64398.
(defcustom buffers-menu-max-size 15
  "Maximum number of entries which may appear on the Buffers menu.
If this is a number, only that many most-recently-selected
buffers are shown.
If this is nil, all buffers are shown."
  :type '(choice natnum
                 (const :tag "All" nil))
  :group 'menu
  :version "30.1")