diff options
| author | Tassilo Horn | 2013-12-20 15:28:01 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2013-12-20 15:28:01 +0100 |
| commit | 6f1de4d1f115228b4fa7f0f3d3d17e2dbf4291c7 (patch) | |
| tree | 93de2cbde060fcd2e5c584c7fb00c648edb32f93 | |
| parent | dfff928448aab7e56fec6c1476383b5b104b4c6d (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/emacs/buffers.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 9 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
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 @@ | |||
| 1 | 2013-12-20 Tassilo Horn <tsdh@gnu.org> | 1 | 2013-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 @@ | |||
| 1 | 2013-12-20 Tassilo Horn <tsdh@gnu.org> | 1 | 2013-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 | ||
| 5 | 2013-12-20 Chong Yidong <cyd@gnu.org> | 7 | 2013-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 |
| 479 | in the @file{*Messages*} buffer so that the user can refer back to | 479 | in the @file{*Messages*} buffer so that the user can refer back to |
| 480 | them. This includes all the messages that are output with | 480 | them. 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 | ||
| 483 | the function @code{messages-buffer}. | ||
| 484 | |||
| 485 | @defun messages-buffer | ||
| 486 | Return the @file{*Messages*} buffer. | ||
| 487 | If 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 |
| 484 | This variable specifies how many lines to keep in the @file{*Messages*} | 491 | This variable specifies how many lines to keep in the @file{*Messages*} |
| @@ -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 |
| 140 | initial buffer. | 140 | initial 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', |
| 143 | and read-only. Code that might create the *Messages* buffer should | 144 | and read-only. Code that might create the *Messages* buffer should |
| 144 | call the function `messages-buffer' to do so and set the mode. | 145 | call the function `messages-buffer' to do so and set the mode. |