Commit 809d2ce4 authored by Glenn Morris's avatar Glenn Morris

* doc/lispref/display.texi (Logging Messages): Copyedits re messages-buffer.

parent 9a00bed5
2014-01-07 Glenn Morris <>
* display.texi (Logging Messages): Copyedits re messages-buffer.
2014-01-06 Paul Eggert <>
Specify .texi encoding (Bug#16292).
......@@ -478,13 +478,15 @@ this macro this way:
Almost all the messages displayed in the echo area are also recorded
in the @file{*Messages*} buffer so that the user can refer back to
them. This includes all the messages that are output with
@code{message}. This buffer is read-only and has the major-mode
@code{messages-buffer-mode}. The best way to retrieve that buffer is
the function @code{messages-buffer}.
@code{message}. By default, this buffer is read-only and uses the major
mode @code{messages-buffer-mode}. Nothing prevents the user from
killing the @file{*Messages*} buffer, but the next display of a message
recreates it. Any Lisp code that needs to ensure the @file{*Messages*}
buffer exists should use the function @code{messages-buffer}.
@defun messages-buffer
Return the @file{*Messages*} buffer.
If it does not exist, create and it switch it to @code{messages-buffer-mode}.
This function returns the @file{*Messages*} buffer. If it does not
exist, it creates it, and switches it to @code{messages-buffer-mode}.
@end defun
@defopt message-log-max
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment