diff options
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 12 |
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 @@ | |||
| 1 | 2014-01-07 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Logging Messages): Copyedits re messages-buffer. | ||
| 4 | |||
| 1 | 2014-01-06 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-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 |
| 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}. 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 | 482 | mode @code{messages-buffer-mode}. Nothing prevents the user from |
| 483 | the function @code{messages-buffer}. | 483 | killing the @file{*Messages*} buffer, but the next display of a message |
| 484 | recreates it. Any Lisp code that needs to ensure the @file{*Messages*} | ||
| 485 | buffer exists should use the function @code{messages-buffer}. | ||
| 484 | 486 | ||
| 485 | @defun messages-buffer | 487 | @defun messages-buffer |
| 486 | Return the @file{*Messages*} buffer. | 488 | This function returns the @file{*Messages*} buffer. If it does not |
| 487 | If it does not exist, create and it switch it to @code{messages-buffer-mode}. | 489 | exist, 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 |