aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 8cba5c5028d..2dfc4cbfeb4 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -34968,19 +34968,19 @@ display table takes effect; in this case, Emacs does not consult
34968 Vdebug_on_message = Qnil; 34968 Vdebug_on_message = Qnil;
34969 34969
34970 DEFVAR_LISP ("set-message-function", Vset_message_function, 34970 DEFVAR_LISP ("set-message-function", Vset_message_function,
34971 doc: /* If non-nil, function to show the message. 34971 doc: /* If non-nil, function to handle display of echo-area messages.
34972The function is called with one argument that is the message. 34972The function is called with one argument that is the text of a message.
34973When this function returns nil, the message is displayed in the echo 34973If this function returns nil, the message is displayed in the echo area
34974area as usual. When the function returns a string, the returned 34974as usual. If the function returns a string, the returned string is
34975string is displayed in the echo area. When this function returns 34975displayed in the echo area. If this function returns any other non-nil
34976other non-nil values, this means that the message was handled 34976value, this means that the message was already handled, and the original
34977specially, so the same message is not displayed in the echo area. 34977message text will not be displayed in the echo area.
34978See also `clear-message-function' that can be used to clear the 34978See also `clear-message-function' that can be used to clear the
34979message displayed by this function. */); 34979message displayed by this function. */);
34980 Vset_message_function = Qnil; 34980 Vset_message_function = Qnil;
34981 34981
34982 DEFVAR_LISP ("clear-message-function", Vclear_message_function, 34982 DEFVAR_LISP ("clear-message-function", Vclear_message_function,
34983 doc: /* If non-nil, function to clear message. 34983 doc: /* If non-nil, function to clear echo-area messages.
34984Usually this function is called when the next input event arrives. 34984Usually this function is called when the next input event arrives.
34985The function is called without arguments. It is expected to clear the 34985The function is called without arguments. It is expected to clear the
34986message displayed by its counterpart function specified by 34986message displayed by its counterpart function specified by