diff options
| author | Eli Zaretskii | 2022-12-25 14:54:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-12-25 14:54:33 +0200 |
| commit | dad73e4de194f6f652c22fcd542d8796926d4ec6 (patch) | |
| tree | 07c5b1c46beb4f226a07f4d12a3edf5892996339 /doc | |
| parent | 72786ae237e66ff42385a2ac36f422ebb21072df (diff) | |
| download | emacs-dad73e4de194f6f652c22fcd542d8796926d4ec6.tar.gz emacs-dad73e4de194f6f652c22fcd542d8796926d4ec6.zip | |
; Review and fix NEWS and related documentation
* etc/NEWS: Fix wording, punctuation, and markup.
* lisp/emacs-lisp/subr-x.el (string-glyph-split): Doc fix.
* doc/lispref/display.texi (Displaying Messages): Document
'set-message-functions'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/display.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 4111a86aa7e..e67b99b769c 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -346,6 +346,20 @@ The default value is the function that clears the message displayed in | |||
| 346 | an active minibuffer. | 346 | an active minibuffer. |
| 347 | @end defvar | 347 | @end defvar |
| 348 | 348 | ||
| 349 | @defopt set-message-functions | ||
| 350 | The value of this user option is a list of functions to be called for | ||
| 351 | handling display of echo-area messages. Each function is called with | ||
| 352 | one argument, the text of the message to display. If the function | ||
| 353 | returns a string, that string replaces the original message, and the | ||
| 354 | next function in the list is called with the new message text. If the | ||
| 355 | function returns @code{nil}, the next function in the list is called | ||
| 356 | with the same text; if the last function in the list returns | ||
| 357 | @code{nil}, the message text is displayed in the echo area. If the | ||
| 358 | function returns a non-@code{nil} value that is not a string, the | ||
| 359 | message is considered to be handled, and no further functions in the | ||
| 360 | list are called. | ||
| 361 | @end defopt | ||
| 362 | |||
| 349 | @defvar inhibit-message | 363 | @defvar inhibit-message |
| 350 | When this variable is non-@code{nil}, @code{message} and related functions | 364 | When this variable is non-@code{nil}, @code{message} and related functions |
| 351 | will not use the Echo Area to display messages. | 365 | will not use the Echo Area to display messages. |