branch: elpa/helm
commit 430f40107bae6adbb5364ff61ffc13e637984e72
Author: Jian Wang <leuve...@gmail.com>
Commit: Jian Wang <leuve...@gmail.com>

    Set "helm-pattern" to "input" to avoid the source conetent refreshed by 
"helm-resume"
---
 helm-core.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index f20ba07619..ee6a5b1196 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -3894,7 +3894,8 @@ For PRESELECT RESUME KEYMAP DEFAULT HISTORY, see `helm'."
                 helm-execute-action-at-once-if-one)
       (helm-log "helm-quit-if-no-candidate = %S" helm-quit-if-no-candidate)
       (when (and src (helm-resume-p resume))
-        (helm-display-mode-line src))
+        (helm-display-mode-line src)
+        (setq helm-pattern input))
       ;; Reset `helm-pattern' and update
       ;; display if no result found with precedent value of `helm-pattern'
       ;; unless `helm-quit-if-no-candidate' is non-`nil', in this case

Reply via email to