diff options
| author | Kim F. Storm | 2006-09-11 08:26:47 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-09-11 08:26:47 +0000 |
| commit | 7bd5bcfba3b6c8f1bfb9c4501e3d9dae4f58a5ca (patch) | |
| tree | 0657366e4f69e5094d0bd00f94b82a2a509dc21c /src/editfns.c | |
| parent | 83279b3e9c2cbd28a3f6615a65a232491ad21d4f (diff) | |
| download | emacs-7bd5bcfba3b6c8f1bfb9c4501e3d9dae4f58a5ca.tar.gz emacs-7bd5bcfba3b6c8f1bfb9c4501e3d9dae4f58a5ca.zip | |
(Fmessage): Recommend using (message "%s" ...).
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c index dce727611ba..71b518acb74 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3178,6 +3178,9 @@ The message also goes into the `*Messages*' buffer. | |||
| 3178 | The first argument is a format control string, and the rest are data | 3178 | The first argument is a format control string, and the rest are data |
| 3179 | to be formatted under control of the string. See `format' for details. | 3179 | to be formatted under control of the string. See `format' for details. |
| 3180 | 3180 | ||
| 3181 | Note: Use (message "%s" VALUE) to print the value of expressions and | ||
| 3182 | variables to avoid accidentally interpreting `%' as format specifiers. | ||
| 3183 | |||
| 3181 | If the first argument is nil or the empty string, the function clears | 3184 | If the first argument is nil or the empty string, the function clears |
| 3182 | any existing message; this lets the minibuffer contents show. See | 3185 | any existing message; this lets the minibuffer contents show. See |
| 3183 | also `current-message'. | 3186 | also `current-message'. |