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

    New variable helm-default-output-filter
    
    Allow using something else than helm-output-filter if needed.
---
 helm-core.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index 9620b4b189..1071ecd3df 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -1137,6 +1137,8 @@ instrumented by `edebug' for stepping. 
`helm--maybe-use-while-no-input'
 then doesn't use `while-no-input', because `while-no-input' throws on
 `edebug' command key input.")
 
+(defvar helm-default-output-filter #'helm-output-filter
+  "The `process-filter' function for Helm async sources.")
 
 ;;; Faces
 ;;
@@ -4397,7 +4399,7 @@ Cache the candidates if there is no cached value yet."
                                    (list (cons 'item-count 0)
                                          (cons 'incomplete-line ""))))
                      helm-async-processes)
-               (set-process-filter candidates 'helm-output-filter)
+               (set-process-filter candidates helm-default-output-filter)
                (setq candidates nil))
               ((not (assq 'volatile source))
                (puthash name candidates helm-candidate-cache)))

Reply via email to