[Top][All Lists]

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

[elpa] master b1ac725 017/399: ivy.el (ivy-initial-inputs-alist): Now a

From: Oleh Krehel
Subject: [elpa] master b1ac725 017/399: ivy.el (ivy-initial-inputs-alist): Now a defcustom.
Date: Sat, 20 Jul 2019 14:56:39 -0400 (EDT)

branch: master
commit b1ac725293de8c91e6c69a35f3e0efae0e60c7c0
Author: Nathan Moreau <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-initial-inputs-alist): Now a defcustom.
 ivy.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index c1a5a9c..064e561 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1668,7 +1668,7 @@ like.")
     (ivy--regex-plus . ivy--highlight-default))
   "An alist of highlighting functions for each regex buidler function.")
-(defvar ivy-initial-inputs-alist
+(defcustom ivy-initial-inputs-alist
   '((org-refile . "^")
     (org-agenda-refile . "^")
     (org-capture-refile . "^")
@@ -1681,7 +1681,9 @@ like.")
   "An alist associating commands with their initial input.
 Each cdr is either a string or a function called in the context
-of a call to `ivy-read'.")
+of a call to `ivy-read'."
+  :type '(alist :key-type (symbol)
+                :value-type (choice (string) (function))))
 (defcustom ivy-hooks-alist nil
   "An alist associating commands to setup functions.

reply via email to

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