emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master ef189f1 030/167: ivy.el (ivy-count-format): Extend customi


From: Oleh Krehel
Subject: [elpa] master ef189f1 030/167: ivy.el (ivy-count-format): Extend customize choices
Date: Tue, 08 Dec 2015 10:49:42 +0000

branch: master
commit ef189f1eeb56abfc108c1fff5902ebbc3bd013aa
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-count-format): Extend customize choices
---
 ivy.el |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 59a02bd..c35ef52 100644
--- a/ivy.el
+++ b/ivy.el
@@ -75,7 +75,11 @@
 Set this to nil if you don't want the count.  You can also set it
 to e.g. \"(%d/%d) \" if you want to see both the candidate index
 and the candidate count."
-  :type '(choice (const :tag "Count disabled" nil) string))
+  :type '(choice
+          (const :tag "Count disabled" nil)
+          (const :tag "Count matches" "%-4d ")
+          (const :tag "Count matches and show current match" "(%d/%d) ")
+          string))
 
 (defcustom ivy-wrap nil
   "Whether to wrap around after the first and last candidate."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]