aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 11a82c3da73..0e1a6e3415f 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3716,10 +3716,11 @@ In batch mode, the message is printed to the standard error stream,
3716followed by a newline. 3716followed by a newline.
3717 3717
3718The first argument is a format control string, and the rest are data 3718The first argument is a format control string, and the rest are data
3719to be formatted under control of the string. See `format' for details. 3719to be formatted under control of the string. See `format-message' for
3720details.
3720 3721
3721Note: Use (message "%s" VALUE) to print the value of expressions and 3722Note: (message "%s" VALUE) displays the string VALUE without
3722variables to avoid accidentally interpreting `%' as format specifiers. 3723interpreting format characters like `%', `\\=`', and `\\=''.
3723 3724
3724If the first argument is nil or the empty string, the function clears 3725If the first argument is nil or the empty string, the function clears
3725any existing message; this lets the minibuffer contents show. See 3726any existing message; this lets the minibuffer contents show. See
@@ -3747,7 +3748,8 @@ DEFUN ("message-box", Fmessage_box, Smessage_box, 1, MANY, 0,
3747 doc: /* Display a message, in a dialog box if possible. 3748 doc: /* Display a message, in a dialog box if possible.
3748If a dialog box is not available, use the echo area. 3749If a dialog box is not available, use the echo area.
3749The first argument is a format control string, and the rest are data 3750The first argument is a format control string, and the rest are data
3750to be formatted under control of the string. See `format' for details. 3751to be formatted under control of the string. See `format-message' for
3752details.
3751 3753
3752If the first argument is nil or the empty string, clear any existing 3754If the first argument is nil or the empty string, clear any existing
3753message; let the minibuffer contents show. 3755message; let the minibuffer contents show.
@@ -3778,7 +3780,8 @@ If this command was invoked with the mouse, use a dialog box if
3778`use-dialog-box' is non-nil. 3780`use-dialog-box' is non-nil.
3779Otherwise, use the echo area. 3781Otherwise, use the echo area.
3780The first argument is a format control string, and the rest are data 3782The first argument is a format control string, and the rest are data
3781to be formatted under control of the string. See `format' for details. 3783to be formatted under control of the string. See `format-message' for
3784details.
3782 3785
3783If the first argument is nil or the empty string, clear any existing 3786If the first argument is nil or the empty string, clear any existing
3784message; let the minibuffer contents show. 3787message; let the minibuffer contents show.