Fix non-interactive user of insert-buffer.