branch: elpa/helm commit 829adf70e39d1c2c61233c31dc99cd38c81a3205 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Fix error in helm-locate-lib-get-summary --- helm-lib.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helm-lib.el b/helm-lib.el index e2e5c56abb..395d797cc6 100644 --- a/helm-lib.el +++ b/helm-lib.el @@ -1738,9 +1738,11 @@ Directories expansion is not supported." (shell-quote-argument file) regexp))) output) + (set-process-filter proc nil) (set-process-sentinel proc (lambda (process event) - (when (string= event "finished\n") + (when (and (string= event "finished\n") + (process-buffer process)) (setq output (with-current-buffer (process-buffer process) (replace-regexp-in-string