branch: elpa/helm
commit 2f67103b6beefc6a23050ef92a03adde55c87c42
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Use execute-action-at-once-if-one as local var
    
    Using it let-bounded works only when not using nested session
    otherwise helm--nest let-binds it to nil to prevent using the value of
    underlying source.
---
 helm-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helm-mode.el b/helm-mode.el
index 1951cd6a150..05087701bb1 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -956,7 +956,6 @@ that use `helm-comp-read'.  See `helm-M-x' for example."
            (src-list (list src-hist
                            (if candidates-in-buffer
                                src-1 src)))
-           (helm-execute-action-at-once-if-one exec-when-only-one)
            (helm-quit-if-no-candidate quit-when-no-cand)
            result)
       (when nomark
@@ -978,6 +977,7 @@ that use `helm-comp-read'.  See `helm-M-x' for example."
                     :keymap keymap ;; Needed with empty collection.
                     :allow-nest allow-nest
                     :candidate-number-limit candidate-number-limit
+                    :execute-action-at-once-if-one exec-when-only-one
                     :case-fold-search case-fold
                     :history (and (symbolp input-history) input-history)
                     :buffer buffer))

Reply via email to