Function: recentf-sort-directories-ascending

recentf-sort-directories-ascending is a byte-compiled function defined in recentf.el.gz.

Signature

(recentf-sort-directories-ascending L)

Documentation

Sort the list of menu elements L in ascending order.

Compares directories then filenames to order the list.

Source Code

;; Defined in /usr/src/emacs/lisp/recentf.el.gz
(defun recentf-sort-directories-ascending (l)
  "Sort the list of menu elements L in ascending order.
Compares directories then filenames to order the list."
  (sort (copy-sequence l)
        (lambda (e1 e2)
          (recentf-directory-compare
           (recentf-menu-element-value e1)
           (recentf-menu-element-value e2)))))