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

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

[elpa] master f00696a 056/167: ivy.el (ivy-extra-directories): Improve :


From: Oleh Krehel
Subject: [elpa] master f00696a 056/167: ivy.el (ivy-extra-directories): Improve :type
Date: Tue, 08 Dec 2015 10:49:52 +0000

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

    ivy.el (ivy-extra-directories): Improve :type
---
 ivy.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index ead3742..e6a9ac9 100644
--- a/ivy.el
+++ b/ivy.el
@@ -108,7 +108,10 @@ This is usually meant as a quick exit out of the 
minibuffer."
 (defcustom ivy-extra-directories '("../" "./")
   "Add this to the front of the list when completing file names.
 Only \"./\" and \"../\" apply here. They appear in reverse order."
-  :type 'list)
+  :type '(repeat :tag "Dirs"
+          (choice
+           (const :tag "Parent Directory" "../")
+           (const :tag "Current Directory" "./"))))
 
 (defcustom ivy-use-virtual-buffers nil
   "When non-nil, add `recentf-mode' and bookmarks to `ivy-switch-buffer'."



reply via email to

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