branch: externals/mct commit 2fc028b4ccc4c40bb08698da6fb8c1d16fee4d24 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Switch mct-sort-alpha-function back to string-version-lessp This is what ls is using as well (or at least it looks like it), so better keep it consistent. --- mct.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mct.el b/mct.el index d9fd6926f3..02c5f9d667 100644 --- a/mct.el +++ b/mct.el @@ -277,7 +277,7 @@ completion category is set to sort by history)." ;;;; Sorting functions for `completions-sort' (Emacs 29) -(defvar mct-sort-alpha-function #'string-collate-lessp +(defvar mct-sort-alpha-function #'string-version-lessp "Function to perform alphabetic sorting between two strings.") (defun mct-sort-by-alpha (completions)