Next: get-buffer, Previous: buffer-name, Up: Buffer Names and File Names [Index]
This function renames the current buffer to NEWNAME.
Ordinarily, ‘rename-buffer’ signals an error if NEWNAME is already in use. However, if UNIQUE is non-‘nil’, it modifies NEWNAME to make a name that is not in use.
This function returns the name actually given to the buffer.
Also rename-uniquely