aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-01-06 21:56:17 -0500
committerGlenn Morris2014-01-06 21:56:17 -0500
commit809d2ce4cfadf189ca134fd59e31016ef32043bc (patch)
tree9418af1d1dc61a5a72062a650ea4cf41fe481ee5
parent9a00bed56fa4c0ef121518e41967b777cf28c97f (diff)
downloademacs-809d2ce4cfadf189ca134fd59e31016ef32043bc.tar.gz
emacs-809d2ce4cfadf189ca134fd59e31016ef32043bc.zip
* doc/lispref/display.texi (Logging Messages): Copyedits re messages-buffer.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/display.texi12
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 39ed20c3f88..fc2580385f4 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12014-01-07 Glenn Morris <rgm@gnu.org>
2
3 * display.texi (Logging Messages): Copyedits re messages-buffer.
4
12014-01-06 Paul Eggert <eggert@cs.ucla.edu> 52014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Specify .texi encoding (Bug#16292). 7 Specify .texi encoding (Bug#16292).
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index be8db83396c..8236742ae2c 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -478,13 +478,15 @@ this macro this way:
478 Almost all the messages displayed in the echo area are also recorded 478 Almost all the messages displayed in the echo area are also recorded
479in the @file{*Messages*} buffer so that the user can refer back to 479in the @file{*Messages*} buffer so that the user can refer back to
480them. This includes all the messages that are output with 480them. This includes all the messages that are output with
481@code{message}. This buffer is read-only and has the major-mode 481@code{message}. By default, this buffer is read-only and uses the major
482@code{messages-buffer-mode}. The best way to retrieve that buffer is 482mode @code{messages-buffer-mode}. Nothing prevents the user from
483the function @code{messages-buffer}. 483killing the @file{*Messages*} buffer, but the next display of a message
484recreates it. Any Lisp code that needs to ensure the @file{*Messages*}
485buffer exists should use the function @code{messages-buffer}.
484 486
485@defun messages-buffer 487@defun messages-buffer
486Return the @file{*Messages*} buffer. 488This function returns the @file{*Messages*} buffer. If it does not
487If it does not exist, create and it switch it to @code{messages-buffer-mode}. 489exist, it creates it, and switches it to @code{messages-buffer-mode}.
488@end defun 490@end defun
489 491
490@defopt message-log-max 492@defopt message-log-max