[Top][All Lists]

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

[elpa] master e85ad2c 116/272: counsel.el (counsel-find-file-ignore-rege

From: Oleh Krehel
Subject: [elpa] master e85ad2c 116/272: counsel.el (counsel-find-file-ignore-regexp): Fixup :type
Date: Mon, 25 Apr 2016 10:13:20 +0000

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

    counsel.el (counsel-find-file-ignore-regexp): Fixup :type
 counsel.el |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 4b229de..d4bc469 100644
--- a/counsel.el
+++ b/counsel.el
@@ -961,7 +961,10 @@ done") "\n" t)))
 These files are un-ignored if `ivy-text' matches them.
 The common way to show all files is to start `ivy-text' with a dot.
 Possible value: \"\\(?:\\`[#.]\\)\\|\\(?:[#~]\\'\\)\"."
-  :group 'ivy)
+  :group 'ivy
+  :type '(choice
+          (const :tag "None" nil)
+          (regexp :tag "Regex")))
 (defun counsel--find-file-matcher (regexp candidates)
   "Return REGEXP-matching CANDIDATES.
@@ -1099,7 +1102,7 @@ string - the full shell command to run."
 (defun counsel-locate-cmd-noregex (input)
   "Return a shell command based on INPUT."
   (format "locate -i '%s'" input))
 (defun counsel-locate-cmd-mdfind (input)
   "Return a shell command based on INPUT."
   (format "mdfind -name '%s'" input))

reply via email to

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