Function: bookmark-maybe-sort-alist
bookmark-maybe-sort-alist is a byte-compiled function defined in
bookmark.el.gz.
Signature
(bookmark-maybe-sort-alist)
Documentation
Return bookmark-alist for display.
If bookmark-sort-flag is non-nil, then return a sorted copy of the alist.
Otherwise, just return bookmark-alist, which by default is ordered
from most recently created to least recently created bookmark.
Source Code
;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark-maybe-sort-alist ()
"Return `bookmark-alist' for display.
If `bookmark-sort-flag' is non-nil, then return a sorted copy of the alist.
Otherwise, just return `bookmark-alist', which by default is ordered
from most recently created to least recently created bookmark."
(if bookmark-sort-flag
(sort (copy-alist bookmark-alist)
(lambda (x y) (string-lessp (car x) (car y))))
bookmark-alist))