branch: externals/ivy-hydra
commit 781cbbc70adbe9cb6ce2db50bff511dd655644bd
Author: Basil L. Contovounesios <[email protected]>
Commit: Basil L. Contovounesios <[email protected]>
Advertise ivy-string< over string-lessp
* ivy.el (ivy-sort-functions-alist): Make "Plain sort" correspond to
the safer ivy-string< rather than string-lessp.
Re: #2213
---
ivy.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ivy.el b/ivy.el
index cbbbd56..eb271a1 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1886,7 +1886,7 @@ See also `ivy-sort-max-size'."
(const :tag "Fall-through" t)
(symbol :tag "Collection"))
:value-type (choice
- (const :tag "Plain sort" string-lessp)
+ (const :tag "Plain sort" ivy-string<)
(const :tag "File sort" ivy-sort-file-function-default)
(const :tag "File sort using Ido" ido-file-extension-lessp)
(const :tag "No sort" nil)