Next: buffer-file-name, Previous: other-buffer, Up: Buffer Names and File Names [Index]
This function returns a name that would be unique for a new buffer—but does not create the buffer. It starts with STARTING-NAME, and produces a name not currently in use for any buffer by appending a number inside of ‘<…>’.
If the optional second argument IGNORE is non-‘nil’, it should be a string, a potential buffer name. It means to consider that potential buffer acceptable, if it is tried, even it is the name of an existing buffer (which would normally be rejected).