aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2022-12-25 14:54:33 +0200
committerEli Zaretskii2022-12-25 14:54:33 +0200
commitdad73e4de194f6f652c22fcd542d8796926d4ec6 (patch)
tree07c5b1c46beb4f226a07f4d12a3edf5892996339 /doc
parent72786ae237e66ff42385a2ac36f422ebb21072df (diff)
downloademacs-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.texi14
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
346an active minibuffer. 346an active minibuffer.
347@end defvar 347@end defvar
348 348
349@defopt set-message-functions
350The value of this user option is a list of functions to be called for
351handling display of echo-area messages. Each function is called with
352one argument, the text of the message to display. If the function
353returns a string, that string replaces the original message, and the
354next function in the list is called with the new message text. If the
355function returns @code{nil}, the next function in the list is called
356with 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
358function returns a non-@code{nil} value that is not a string, the
359message is considered to be handled, and no further functions in the
360list are called.
361@end defopt
362
349@defvar inhibit-message 363@defvar inhibit-message
350When this variable is non-@code{nil}, @code{message} and related functions 364When this variable is non-@code{nil}, @code{message} and related functions
351will not use the Echo Area to display messages. 365will not use the Echo Area to display messages.