Variable: pcomplete-compare-entry-function

pcomplete-compare-entry-function is a customizable variable defined in pcomplete.el.gz.

Value

string-lessp

Documentation

This function is used to order file entries for completion.

The behavior of most all shells is to sort alphabetically.

Source Code

;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
(defcustom pcomplete-compare-entry-function #'string-lessp
  "This function is used to order file entries for completion.
The behavior of most all shells is to sort alphabetically."
  :type '(radio (function-item string-lessp)
		(function-item file-newer-than-file-p)
		(function :tag "Other")))