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

    Fix commit dd80517f
    
    Fix multiline insertion on first candidate in async sources.
---
 helm-core.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/helm-core.el b/helm-core.el
index a3675f9130..f938f534ee 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -5559,7 +5559,8 @@ This will work only in Emacs-26+, i.e. Emacs versions 
that have
           (helm--maybe-process-filter-one-by-one-candidate candidate source))
     (if (assq 'multiline source)
         (let ((start (point)))
-          (helm-insert-candidate-separator)
+          (unless (zerop (cdr (assq 'item-count source)))
+            (helm-insert-candidate-separator))
           (helm-insert-match candidate 'insert-before-markers
                              (1+ (cdr (assq 'item-count source)))
                              source)

Reply via email to