Variable: messages-buffer-name

messages-buffer-name is a variable defined in xdisp.c.

Value

"*Messages*"

Documentation

The name of the buffer where messages are logged.

This is normally "*Messages*", but can be rebound by packages that wish to redirect messages to a different buffer. (If the buffer doesn't exist, it will be created and put into messages-buffer-mode.)

View in manual

Probably introduced at or before Emacs version 29.1.

Source Code

// Defined in /usr/src/emacs/src/xdisp.c
  DEFVAR_LISP ("messages-buffer-name", Vmessages_buffer_name,
    doc: /* The name of the buffer where messages are logged.
This is normally \"\*Messages*\", but can be rebound by packages that
wish to redirect messages to a different buffer.  (If the buffer
doesn't exist, it will be created and put into
`messages-buffer-mode'.)  */);