]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy.el (ivy-sort-functions-alist): Update :type
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 31 Mar 2016 07:56:12 +0000 (09:56 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 31 Mar 2016 07:56:12 +0000 (09:56 +0200)
Re #453

ivy.el

diff --git a/ivy.el b/ivy.el
index b2c6cf9febcb94cffa42584edf14f07ce2a87cff..2b7002c3484e3f52c9e36482cb211c1ad8ad7620 100644 (file)
--- a/ivy.el
+++ b/ivy.el
@@ -1125,7 +1125,8 @@ See also `ivy-sort-max-size'."
     :value-type (choice
                  (const :tag "Plain sort" string-lessp)
                  (const :tag "File sort" ivy-sort-file-function-default)
-                 (const :tag "No sort" nil)))
+                 (const :tag "No sort" nil)
+                 (function :tag "Custom function")))
   :group 'ivy)
 
 (defvar ivy-index-functions-alist