Variable: bookmark-sort-flag

bookmark-sort-flag is a customizable variable defined in bookmark.el.gz.

Value

t

Documentation

This controls the bookmark display sorting.

nil means they will be displayed in LIFO order (that is, most recently created ones come first, oldest ones come last).

last-modified means that bookmarks will be displayed sorted from most recently modified to least recently modified.

Other values means that bookmarks will be displayed sorted by bookmark name.

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defcustom bookmark-sort-flag t
  "This controls the bookmark display sorting.
nil means they will be displayed in LIFO order (that is, most
recently created ones come first, oldest ones come last).

`last-modified' means that bookmarks will be displayed sorted
from most recently modified to least recently modified.

Other values means that bookmarks will be displayed sorted by
bookmark name."
  :type '(choice (const :tag "By name" t)
                 (const :tag "By modified time" last-modified)
                 (const :tag "By creation time" nil)))