branch: elpa/helm
commit 80cc9e1cd25e3aad72812aa832627762ac436798
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Prevent reusing the underlying value of
    
    `helm-execute-action-at-once-if-one' in helm--nest particularly if it
    is a function.
---
 helm-core.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index 460ff0c9ec..5e2dae3c6e 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -3318,7 +3318,10 @@ Don't use this directly, use instead `helm' with the 
keyword
           (orig-helm-last-frame-or-window-configuration
            helm-last-frame-or-window-configuration)
           (orig-one-window-p helm-onewindow-p)
-          (helm--nested (if helm--buffer-in-new-frame-p 'share t)))
+          (helm--nested (if helm--buffer-in-new-frame-p 'share t))
+          ;; Prevent reusing the underlying value of
+          ;; `helm-execute-action-at-once-if-one' particularly if it is a 
function.
+          helm-execute-action-at-once-if-one)
       ;; Using helm-full-frame here allow showing the new
       ;; helm-buffer in the same window as old helm-buffer by forcing the usage
       ;; of switch-to-buffer in `helm-default-display-buffer', using the flag

Reply via email to