Variable: msb-item-sort-function

msb-item-sort-function is a customizable variable defined in msb.el.gz.

Value

msb-sort-by-name

Documentation

The order of items in a buffer menu.

The default function to call for handling the order of items in a menu item. This function is called like a sort function. The items look like (ITEM-NAME . BUFFER).

ITEM-NAME is the name of the item that will appear in the menu. BUFFER is the buffer, this is not necessarily the current buffer.

Set this to nil or t if you don't want any sorting (faster).

Source Code

;; Defined in /usr/src/emacs/lisp/msb.el.gz
(defcustom msb-item-sort-function 'msb-sort-by-name
  "The order of items in a buffer menu.

The default function to call for handling the order of items in a menu
item.  This function is called like a sort function.  The items look
like (ITEM-NAME . BUFFER).

ITEM-NAME is the name of the item that will appear in the menu.
BUFFER is the buffer, this is not necessarily the current buffer.

Set this to nil or t if you don't want any sorting (faster)."
  :type '(choice (const msb-sort-by-name)
		 (const :tag "Newest first" t)
		 (const :tag "Oldest first" nil))
  :set #'msb-custom-set)