diff options
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 13 |
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, | |||
| 3716 | followed by a newline. | 3716 | followed by a newline. |
| 3717 | 3717 | ||
| 3718 | The first argument is a format control string, and the rest are data | 3718 | The first argument is a format control string, and the rest are data |
| 3719 | to be formatted under control of the string. See `format' for details. | 3719 | to be formatted under control of the string. See `format-message' for |
| 3720 | details. | ||
| 3720 | 3721 | ||
| 3721 | Note: Use (message "%s" VALUE) to print the value of expressions and | 3722 | Note: (message "%s" VALUE) displays the string VALUE without |
| 3722 | variables to avoid accidentally interpreting `%' as format specifiers. | 3723 | interpreting format characters like `%', `\\=`', and `\\=''. |
| 3723 | 3724 | ||
| 3724 | If the first argument is nil or the empty string, the function clears | 3725 | If the first argument is nil or the empty string, the function clears |
| 3725 | any existing message; this lets the minibuffer contents show. See | 3726 | any 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. |
| 3748 | If a dialog box is not available, use the echo area. | 3749 | If a dialog box is not available, use the echo area. |
| 3749 | The first argument is a format control string, and the rest are data | 3750 | The first argument is a format control string, and the rest are data |
| 3750 | to be formatted under control of the string. See `format' for details. | 3751 | to be formatted under control of the string. See `format-message' for |
| 3752 | details. | ||
| 3751 | 3753 | ||
| 3752 | If the first argument is nil or the empty string, clear any existing | 3754 | If the first argument is nil or the empty string, clear any existing |
| 3753 | message; let the minibuffer contents show. | 3755 | message; 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. |
| 3779 | Otherwise, use the echo area. | 3781 | Otherwise, use the echo area. |
| 3780 | The first argument is a format control string, and the rest are data | 3782 | The first argument is a format control string, and the rest are data |
| 3781 | to be formatted under control of the string. See `format' for details. | 3783 | to be formatted under control of the string. See `format-message' for |
| 3784 | details. | ||
| 3782 | 3785 | ||
| 3783 | If the first argument is nil or the empty string, clear any existing | 3786 | If the first argument is nil or the empty string, clear any existing |
| 3784 | message; let the minibuffer contents show. | 3787 | message; let the minibuffer contents show. |