aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn2013-12-20 15:28:01 +0100
committerTassilo Horn2013-12-20 15:28:01 +0100
commit6f1de4d1f115228b4fa7f0f3d3d17e2dbf4291c7 (patch)
tree93de2cbde060fcd2e5c584c7fb00c648edb32f93
parentdfff928448aab7e56fec6c1476383b5b104b4c6d (diff)
downloademacs-6f1de4d1f115228b4fa7f0f3d3d17e2dbf4291c7.tar.gz
emacs-6f1de4d1f115228b4fa7f0f3d3d17e2dbf4291c7.zip
Document *Messages* buffer changes.
* doc/emacs/buffers.texi: Update list-buffers "screeshop" to show Messages as major-mode. * doc/lispref/display.texi: Document `messages-buffer'.
-rw-r--r--doc/emacs/ChangeLog3
-rw-r--r--doc/emacs/buffers.texi2
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/display.texi9
-rw-r--r--etc/NEWS1
5 files changed, 15 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index f2be12e2002..4b2beb17d45 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,8 @@
12013-12-20 Tassilo Horn <tsdh@gnu.org> 12013-12-20 Tassilo Horn <tsdh@gnu.org>
2 2
3 * buffers.texi: Update list-buffers "screeshop" to show Messages
4 as major-mode.
5
3 * entering.texi: Document `initial-buffer-choice' changes. 6 * entering.texi: Document `initial-buffer-choice' changes.
4 7
5 * misc.texi (arguments): Document `initial-buffer-choice' changes. 8 * misc.texi (arguments): Document `initial-buffer-choice' changes.
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index a62f2bdac8d..9e5f996aae0 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -194,7 +194,7 @@ CRM Buffer Size Mode File
194 % HELLO 1607 Fundamental ~/cvs/emacs/etc/HELLO 194 % HELLO 1607 Fundamental ~/cvs/emacs/etc/HELLO
195 % NEWS 481184 Outline ~/cvs/emacs/etc/NEWS 195 % NEWS 481184 Outline ~/cvs/emacs/etc/NEWS
196 *scratch* 191 Lisp Interaction 196 *scratch* 191 Lisp Interaction
197 * *Messages* 1554 Fundamental 197 * *Messages* 1554 Messages
198@end smallexample 198@end smallexample
199 199
200@noindent 200@noindent
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 64c3ec42ca6..be050b7141e 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12013-12-20 Tassilo Horn <tsdh@gnu.org> 12013-12-20 Tassilo Horn <tsdh@gnu.org>
2 2
3 * display.texi: Document `messages-buffer'.
4
3 * os.texi: Document `initial-buffer-choice' changes. 5 * os.texi: Document `initial-buffer-choice' changes.
4 6
52013-12-20 Chong Yidong <cyd@gnu.org> 72013-12-20 Chong Yidong <cyd@gnu.org>
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index c6eeaf9c6a8..ead436ab809 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -478,7 +478,14 @@ 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}. 481@code{message}. This buffer is read-only and has the major-mode
482@code{messages-buffer-mode}. The best way to retrieve that buffer is
483the function @code{messages-buffer}.
484
485@defun messages-buffer
486Return the @file{*Messages*} buffer.
487If it does not exist, create and it switch it to @code{messages-buffer-mode}.
488@end defun
482 489
483@defopt message-log-max 490@defopt message-log-max
484This variable specifies how many lines to keep in the @file{*Messages*} 491This variable specifies how many lines to keep in the @file{*Messages*}
diff --git a/etc/NEWS b/etc/NEWS
index dca067640d0..34392ee81af 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -139,6 +139,7 @@ simply disabling Transient Mark mode does the same thing.
139** `initial-buffer-choice' can now specify a function to set up the 139** `initial-buffer-choice' can now specify a function to set up the
140initial buffer. 140initial buffer.
141 141
142+++
142** The *Messages* buffer is created in a new major mode `messages-buffer-mode', 143** The *Messages* buffer is created in a new major mode `messages-buffer-mode',
143and read-only. Code that might create the *Messages* buffer should 144and read-only. Code that might create the *Messages* buffer should
144call the function `messages-buffer' to do so and set the mode. 145call the function `messages-buffer' to do so and set the mode.