According to the documentation generate-new-buffer "buffername"
creates a new empty buffer with the given name, yet when I try it in M-x
the prompt refuses the name and replaces it with "No match". Does it mean it works with only preconfigured names?
At http://ergoemacs.org/emacs/emacs_new_empty_buffer.html there is an example where it is used as (generate-new-buffer "untitled")
, so why doesn't work with M-x
?