branch: elpa/helm commit c90364a9fae911557af9a9a93b7a139a27d109f4 Merge: 1a216854ad 430f40107b Author: Thierry Volpiatto <thie...@posteo.net> Commit: GitHub <nore...@github.com>
Merge pull request #2541 from leuven65/master 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