1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-06 14:02:07 -08:00

(Fmessage): Recommend using (message "%s" ...).

This commit is contained in:
Kim F. Storm 2006-09-11 08:26:47 +00:00
parent 83279b3e9c
commit 7bd5bcfba3

View file

@ -3178,6 +3178,9 @@ The message also goes into the `*Messages*' buffer.
The first argument is a format control string, and the rest are data
to be formatted under control of the string. See `format' for details.
Note: Use (message "%s" VALUE) to print the value of expressions and
variables to avoid accidentally interpreting `%' as format specifiers.
If the first argument is nil or the empty string, the function clears
any existing message; this lets the minibuffer contents show. See
also `current-message'.