Function: eshell-ls-compare-entries

eshell-ls-compare-entries is a byte-compiled function defined in em-ls.el.gz.

Signature

(eshell-ls-compare-entries L R INX FUNC)

Documentation

Compare the time of two files, L and R, the attribute indexed by INX.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-ls.el.gz
(defsubst eshell-ls-compare-entries (l r inx func)
  "Compare the time of two files, L and R, the attribute indexed by INX."
  (let ((lt (nth inx (cdr l)))
	(rt (nth inx (cdr r))))
    (if (equal lt rt)
	(string-lessp (directory-file-name (car l))
		      (directory-file-name (car r)))
      (funcall func rt lt))))