branch: master commit b1ac725293de8c91e6c69a35f3e0efae0e60c7c0 Author: Nathan Moreau <nathan.mor...@m4x.org> Commit: Oleh Krehel <ohwoeo...@gmail.com>
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.