1d773b0dfe
When bufname contains |file-pattern|, setbufvar() might raise E16 Invalid Range error. Use setbufvar("", ...) instead of setbufvar(bufname_string, ...).