Take an optional text param in create_buf. Call create_buf if emacs opens a new buf