With the code below, if I run `M-x helm-foo' then type "fo", the one entry of helm-source-foo-dummy is selected. I would like the "foo" candidate of the helm-source-foo-sync to be selected instead, without changing the visual order of the sources. Is this possible?
(defvar helm-source-foo-sync
'((name . "source with candidates")
(candidates . ("foo" "bar" "baz"))
(requires-pattern . 2)
(action . identity)))
(defvar helm-source-foo-dummy
'((name . "dummy source")
(requires-pattern . 2)
(dummy)
(action . identity)))
(defun helm-foo ()
(interactive)
(helm :sources '(helm-source-foo-dummy helm-source-foo-sync)
:buffer "*helm test*"))