I want to string-join
a list of strings, one of which is returned by a function call.
Like this:
(defun foobar () "foobar")
(string-join '("foo" (foobar) "bar") "|")
That results in Wrong type argument: characterp, foobar
and not in "foo|foobar|bar"
as expected.
What's the elegant way to do that?