Next: , Up: Creating and Killing Buffers   [Index]


7.4.8.1 get-buffer-create

Function: get-buffer-create buffer-or-name
BUFFER-OR-NAME

a buffer of this name is returned. It does not become the current buffer, though. If the buffer exists, it is returned. If no such buffer exists, a new buffer is created.

The major mode of a newly-created buffer is set to Fundamental.

If the buffer name begins with a space, undo information recording is disabled.