branch: master
commit e35dae30843a2ae32d22e57fe307080bd7c784bb
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el (ivy-completing-read): Consider DEF being a list
    
    Fixes #1112
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index f7f20f9..a2fc22c 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1870,7 +1870,7 @@ INHERIT-INPUT-METHOD is currently ignored."
                                      (t
                                       initial-input))
                 :preselect (if (listp def) (car def) def)
-                :def def
+                :def (if (listp def) (car def) def)
                 :history history
                 :keymap nil
                 :sort t

Reply via email to