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

    ivy.el (ivy-auto-select-single-candidate): Disable on remotes
    
    Re #1326
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 585f553..e099757 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1644,7 +1644,8 @@ customizations apply to the current completion session."
                          ((null resize-mini-windows) 'grow-only)
                          (t resize-mini-windows))))
                  (if (and ivy-auto-select-single-candidate
-                          (= (length ivy--all-candidates) 1))
+                          (= (length ivy--all-candidates) 1)
+                          (not (file-remote-p ivy--directory)))
                      (progn
                        (setf (ivy-state-current ivy-last)
                              (car ivy--all-candidates))

Reply via email to